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. wicket-autocomplete-positioning-1.4.19.patch
        1 kB
        Michal Waciega
      2. mvn-startup-project.zip
        6 kB
        Michal Waciega

        Activity

        Hide
        Andrea Del Bene added a comment -

        Solved with WICKET-5413 and WICKET-5379.

        Show
        Andrea Del Bene added a comment - Solved with WICKET-5413 and WICKET-5379 .
        Hide
        Martin Grigorov added a comment -

        Similar issue has been fixed in Wicket 6.12.
        Please re-test and let us know if it still doesn't work.

        Show
        Martin Grigorov added a comment - Similar issue has been fixed in Wicket 6.12. Please re-test and let us know if it still doesn't work.
        Hide
        Michal Waciega added a comment -

        Startup maven project for reproducing the issue.

        Show
        Michal Waciega added a comment - Startup maven project for reproducing the issue.
        Hide
        Martin Grigorov added a comment -

        Johan, you often fix similar problems in this code. Can you review ?

        Show
        Martin Grigorov added a comment - Johan, you often fix similar problems in this code. Can you review ?
        Hide
        Michal Waciega added a comment -

        Proposal of change

        Show
        Michal Waciega added a comment - Proposal of change

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development