Search and Top Navigation
#5489 closed bug (worksforme)
Opened April 06, 2010 05:08PM UTC
Closed July 21, 2010 06:18PM UTC
autocomplete zIndex
Reported by: | ligi | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
the zIndex for the autocomplete result list which is popping up is calculated with "this.element.zIndex() + 1"
the problem is that when the input element is not 'absolute' || 'relative' || 'fixed' the zIndex of the input is ignored but very useful for the Menu which is popping up.
In my example its an jquery autocomplete above an openlayers map - and the map was always over the auto complete list - i had no chance to get it above without tweaking jquery.ui.autocomplete.js ( its an dirty hack so i won't publish it as a patch here )
I'm not sure about how to do a real Patch which suits everyone. Perhaps passing an zIndex with the autocomplete Options is an option?
Attachments (0)
Change History (2)
Changed July 20, 2010 07:49PM UTC by comment:1
milestone: | TBD → 1.9 |
---|---|
priority: | minor → major |
Changed July 21, 2010 06:18PM UTC by comment:2
resolution: | → worksforme |
---|---|
status: | new → closed |
Simply setting the position of the input field to relative should make this work for you. We are considering alternative methods of handling z-index, but the current solution does work.