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

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

    XMLWordPrintableJSON

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.

      Attachments

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

        Activity

          People

            bitstorm Andrea Del Bene
            mwaciega Michal Waciega
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: