Wicket
  1. Wicket
  2. WICKET-5343

AutoCompleteTextField suggestions popup position is wrong when its container has scrollbar

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.11.0, 7.0.0
    • Component/s: None
    • Labels:
      None

      Description

      The position of suggestions popup is wrongly calculated if the container of the owner component has a scroll bar.

      1. autocomplete-test.zip
        29 kB
        Andrea Del Bene

        Activity

        Hide
        Martin Grigorov added a comment -

        Yes, I've added you to the Jira "Committers" role, so you should be able.

        Show
        Martin Grigorov added a comment - Yes, I've added you to the Jira "Committers" role, so you should be able.
        Hide
        Andrea Del Bene added a comment -

        thank you! I've forgot to ask you to close it.

        ps: can I be granted the right to close an issue?

        Show
        Andrea Del Bene added a comment - thank you! I've forgot to ask you to close it. ps: can I be granted the right to close an issue?
        Hide
        Martin Grigorov added a comment -

        I've tested the issue on all major browsers - Chrome 29, Firefox 23, Opera 12.16, IE 9 and Safari 5.1. The issue is fixed.

        Show
        Martin Grigorov added a comment - I've tested the issue on all major browsers - Chrome 29, Firefox 23, Opera 12.16, IE 9 and Safari 5.1. The issue is fixed.
        Hide
        Martin Grigorov added a comment -

        Andrea: I saw you pushed an improvement both in 6.x and master branches. Is there anything more to be done ?

        Show
        Martin Grigorov added a comment - Andrea: I saw you pushed an improvement both in 6.x and master branches. Is there anything more to be done ?
        Hide
        Andrea Del Bene added a comment -

        Using getBoundingClientRect inside getPosition(obj) should fix the problem. I'm testing it.

        Show
        Andrea Del Bene added a comment - Using getBoundingClientRect inside getPosition(obj) should fix the problem. I'm testing it.
        Hide
        Andrea Del Bene added a comment -

        quickstart

        Show
        Andrea Del Bene added a comment - quickstart

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development