Wicket
  1. Wicket
  2. WICKET-4341

Autocomplete dropdown's position is wrong when placed inside scrollable div but with position:static

    Details

      Description

      Function getPosition(obj) of wicket-autocomplete.js takes into account only those DOM path elements which are offset parents. Result is wrong when there are also elements that arent positioned (not being offset parents), but with overflow (scrollbars present). These scrollbar offsets aren't taken into account, so final result returned is wrong.

      1. mvn-startup-project.zip
        6 kB
        Michal Waciega
      2. wicket-autocomplete-positioning-1.4.19.patch
        1 kB
        Michal Waciega

        Activity

        Michal Waciega created issue -
        Michal Waciega made changes -
        Field Original Value New Value
        Attachment wicket-autocomplete-positioning-1.4.19.patch [ 12510828 ]
        Martin Grigorov made changes -
        Assignee Johan Compagner [ jcompagner ]
        Michal Waciega made changes -
        Attachment mvn-startup-project.zip [ 12510833 ]
        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Johan Compagner [ jcompagner ] Andrea Del Bene [ bitstorm ]
        Fix Version/s 6.12.0 [ 12324889 ]
        Resolution Fixed [ 1 ]
        Andrea Del Bene made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Andrea Del Bene made changes -
        Status Reopened [ 4 ] Resolved [ 5 ]
        Fix Version/s 7.0.0 [ 12322958 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Andrea Del Bene
            Reporter:
            Michal Waciega
          • Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development