[OpenLayers-Trac] [OpenLayers] #3241: The use of "eventsDiv" cause problems with "EditingToolbar"

OpenLayers trac-20090302 at openlayers.org
Sun Apr 3 12:07:08 EDT 2011


#3241: The use of "eventsDiv" cause problems with "EditingToolbar"
------------------------------------+---------------------------------------
 Reporter:  jorix                   |       Owner:              
     Type:  bug                     |      Status:  new         
 Priority:  minor                   |   Milestone:  2.11 Release
Component:  Control.EditingToolbar  |     Version:  SVN         
 Keywords:                          |       State:              
------------------------------------+---------------------------------------
 After #3091 when you draw using FF, Safari or Chrome to the left of
 EditingToolbar is an area of exclusion for the insertion point. When the
 mouse moves through this area the point it can not follow.

 This is because statement {{{width: 200px;}}} on line 379 in style.css.

 This statement prevents  the div of the control fills the entire width of
 the map and cover other controls using IE6 or IE without DOCTYPE. This
 prevents you click on other controls (the typical affected control is
 "Pan.NORTH" in PanPanel)

 But with the use of "eventsDiv" I could see that this effect only occurs
 in IE6. I tested with IE7, IE8 and IE8 in compatibility view with and
 without DOCTYPE and in every case when the "div" fills the entire width of
 the map does not prevent click "Pan.NORTH". It's only time that prevents
 the click is when the div is not transparent background.

 So I propose a patch to move {{{width: 200px;}}} to ie6-style.css and
 adapting all examples that use {{{.olControlEditingToolbar}}} class
 (except for examples of mobile devices)

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3241>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list