Search and Top Navigation
#5634 closed bug (duplicate)
Opened May 19, 2010 06:46PM UTC
Closed July 19, 2010 09:39PM UTC
Last modified October 11, 2012 09:15PM UTC
Autocomplete: dropdown does not scroll with non-body container
Reported by: | bendgilbert | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | ui.autocomplete | Version: | 1.8.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
The autocomplete dropdown does not stay with the associated text input if a container other than the page body is scrolled.
For example, put a text input within a tab control that has a scrollbar, where the page (body) itself has no scrollbar. If you dropdown an autocomplete for that textbox, then scroll the tab contents, the textbox moves but the autocomplete dropdown stays in one place. There should be a way to have it stay attached to the underlying input element instead of being absolutely positioned with respect to the body. It's possible the position option (http://dev.jqueryui.com/ticket/5153) would fix this, but it's hard to tell.
See example at http://jsbin.com/otozo4/2.
This will be handled by #5836.