[
https://issues.apache.org/jira/browse/WICKET-4084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13156931#comment-13156931
]
Cedric Gatay commented on WICKET-4084:
--------------------------------------
I can reproduce this too using the Quickstart, I corrected the Quickstart to
use Wicket 1.4.19 instead of SNAPSHOT though. It seems wicket-autocomplete.js
attach the autocomplete element at the wrong place, I think it should be
appended next to the textfield it replaces instead.
> AutoComplete text field inside a modal window displays drop-down in the wrong
> location if the page is scrolled
> --------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4084
> URL: https://issues.apache.org/jira/browse/WICKET-4084
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.4.18
> Reporter: Alex Grant
> Attachments: WICKET-4084-autocomplete.zip
>
>
> I have a page that contains a ModalWindow. That ModalWindow contains an
> AutoCompleteTextField.
> If the main page has a lot of content, the AutoCompleteTextField only works
> correctly if the page is scrolled to the top.
> You can see this easily by scrolling the page up and down while the
> ModalWindow is open and the AutoCompleteTextField is showing its dropdown.
> I believe what is happening is that the dropdown has an absolute position
> relative to the Page, rather than relative to the ModalWindow. When you
> scroll the page down, the dropdown remains in the same position on the page
> (and hence scrolls off the top), while the ModalWindow stays in the same
> position on the screen.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira