[OpenLayers-Trac] Re: [OpenLayers] #1635: 0 Z-Index for Map Div
OpenLayers
trac-20090302 at openlayers.org
Tue Jun 14 09:28:51 EDT 2011
#1635: 0 Z-Index for Map Div
------------------------------+---------------------------------------------
Reporter: euzuro | Owner: euzuro
Type: feature | Status: reopened
Priority: critical | Milestone: 2.12 Release
Component: Map | Version: SVN
Resolution: | Keywords:
State: Needs More Work |
------------------------------+---------------------------------------------
Changes (by bbinet):
* status: closed => reopened
* state: Complete => Needs More Work
* version: 2.6 => SVN
* resolution: fixed =>
* milestone: 2.7 Release => 2.12 Release
Comment:
Reopen this one 3 years later (yeah that's archeology!), since I think the
patch does not fix the issue reported.
I recently faced an issue where a jquery-ui datepicker (which z-index was
set to 1) was hidden behind the map.
Actually z-index is only taken into account for a positioned box:
http://www.w3.org/TR/CSS2/visuren.html#z-index
So we need to add position:relative in addition to z-index:0.
I guess that the original patch has been tested on a page where a parent
was already positioned.
--
Ticket URL: <http://trac.openlayers.org/ticket/1635#comment:7>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list