Search and Top Navigation
#7936 closed bug (duplicate)
Opened December 07, 2011 12:13AM UTC
Closed December 20, 2011 04:42PM UTC
Last modified December 20, 2011 04:42PM UTC
Autocomplete pop-up position is incorrect if input field is no longer visible
Reported by: | msk | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.16 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Set up a tabbed interface, create an autocomplete input.
If you enter a value in the input (and you know it's complete and correct, so you don't care to wait on the autocomplete results), then click the next tab, the autocomplete results still pop-up, but with incorrect positioning.
For this jsfiddle, just enter a value ("1") then click on the 2nd tab.
This problem can be mitigated by handling the blur event of the input and cancelling the autocomplete response callback. However, depending on browser performance (IE=slow) and server response time, there's still a small window of time where the problem can occur.