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

[IE7] Shrinked popup calendar when inside a table

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.4
    • Fix Version/s: None
    • Component/s: wicket-datetime
    • Labels:
      None
    • Environment:
      XPsp2, IE7

      Description

      I found that if I use a DateField inside a table, when I click the calendar icon ("17") using IE7, the calendar pops up "shrinked" in width, even if there's plenty of screen space.. When I close the popup and re-open it, it shows up with the right width..

      Debugging, I think I found the "culprit" being a

      YAHOO.util.Dom.setX(subject, targetPos[0])

      inside wicket-date.js (wicket-datetime) line 115, so maybe it's YUI's problem.. Anyway, maybe a simple

      if(YAHOO.util.Dom.getX(subject) != targetPos[0])

      before that call would prevent the error.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joril Federico Fanton
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: