[OpenLayers-Trac] Re: [OpenLayers] #3363: Dragging over controls ends drag sequence

OpenLayers trac-20090302 at openlayers.org
Thu Jan 19 13:44:54 EST 2012


#3363: Dragging over controls ends drag sequence
--------------------------+-------------------------------------------------
 Reporter:  ahocevar      |       Owner:  ahocevar       
     Type:  bug           |      Status:  assigned       
 Priority:  minor         |   Milestone:  2.12 Release   
Component:  Handler.Drag  |     Version:  2.11 RC1       
 Keywords:                |       State:  Needs More Work
--------------------------+-------------------------------------------------

Comment(by jorix):

 Replying to [comment:7 ahocevar]:
 > I'm currently working on a fix for this, which involves removing the
 eventsDiv and handling button events before all other events are handled.
 See #3091

 I think it is possible to address the issue without touching the
 eventsDiv:

 Setting {{{documentDrag = true}}} ran aground on #3399. I believe that can
 be addressed with another strategy: listen only document events after
 start a drag, so ignore the {{{"mouseout"}}} with problems (only when
 {{{documentDrag = true}}}). [[BR]]
 I can try it in #3399 if you agree.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3363#comment:9>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list