Wicket
  1. Wicket
  2. WICKET-5413

Positioning AutoCompleteTextField not correct on resized window

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.12.0
    • Fix Version/s: 6.13.0, 7.0.0-M1
    • Component/s: wicket-extensions
    • Labels:
      None

      Description

      The positioning of the AutoCompleteTextField options is off when having a resized browser window.

      I'll upload a testcase. And I have a patch which uses jQueries .offset() which fixes the problem for me.

      1. autocompletetest.zip
        28 kB
        Thijs Vonk
      2. screenshot-1.jpg
        52 kB
        Thijs Vonk
      3. wicket-5413.patch
        1 kB
        Thijs Vonk

        Issue Links

          Activity

          Hide
          Thijs Vonk added a comment -

          Run the quickstart. Halfway on the page I added the AutoCompleteTextField start typing the word 'choice'

          If you have resized the window and scroll down to the field the autocompleted values will be somewhere above the field. (also see screenshot).

          Please don't mind the coloring.

          Show
          Thijs Vonk added a comment - Run the quickstart. Halfway on the page I added the AutoCompleteTextField start typing the word 'choice' If you have resized the window and scroll down to the field the autocompleted values will be somewhere above the field. (also see screenshot). Please don't mind the coloring.
          Hide
          Thijs Vonk added a comment -

          And a patch (simple onliner)

          Show
          Thijs Vonk added a comment - And a patch (simple onliner)
          Hide
          Andrea Del Bene added a comment -

          Thanks for your patch!!!

          Show
          Andrea Del Bene added a comment - Thanks for your patch!!!

            People

            • Assignee:
              Andrea Del Bene
              Reporter:
              Thijs Vonk
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development