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

[IE7] Shrinked popup calendar when inside a table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.3.4
    • None
    • wicket-datetime
    • None
    • 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

        1. testdatefield.tar.bz2
          6 kB
          Federico Fanton

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: