[OpenLayers-Trac] [OpenLayers] #1003: drag handler doesn't reset properties on left or improperly modified mousedown

OpenLayers trac at openlayers.org
Wed Sep 19 14:19:47 EDT 2007


#1003: drag handler doesn't reset properties on left or improperly modified
mousedown
--------------------------+-------------------------------------------------
 Reporter:  tschaub       |       Owner:  tschaub    
     Type:  bug           |      Status:  new        
 Priority:  minor         |   Milestone:  2.5 Release
Component:  Handler.Drag  |     Version:  2.5 RC1    
 Keywords:                |  
--------------------------+-------------------------------------------------
 Open click.html.  Click once to confirm you get an alert.  Shift-drag a
 zoom box.  Click again to see no alert.  The drag handler is stopping all
 clicks where handler.start != handler.last.  If a mousedown is right or
 doesn't match the handlers modifiers, then the start and last properties
 are left lingering from the last click (which was a drag, so start !=
 last, so the handler will not allow propagation of this click).

 Patch to follow.

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


More information about the Trac mailing list