Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5491

Wicket.DateTime.getViewportHeight() returning undefined on IE8, positions calendar out of viewport

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.14.0, 7.0.0-M1, 1.5.12
    • Component/s: wicket-datetime
    • Labels:
      None
    • Environment:
      Internet Explorer

      Description

      A small mistake in Wicket.DateTime.getViewportHeight() causes the function to return undefined. This allows the calendar to pop up in such a way that the it may lie outside the existing viewport, forcing user to scroll it into view.

      The provided patch corrects the issue.

        Attachments

        1. read-clientHeight.patch
          0.8 kB
          Antti Lankila

          Issue Links

            Activity

              People

              • Assignee:
                mgrigorov Martin Tzvetanov Grigorov
                Reporter:
                alankila@bel.fi Antti Lankila
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified