[OpenLayers-Dev] Event trapping by dragging...  on Boxes...
    Christopher Schmidt 
    crschmidt at metacarta.com
       
    Mon Sep 15 20:56:37 EDT 2008
    
    
  
On Mon, Sep 15, 2008 at 07:43:57PM -0500, Lance Dyas wrote:
> Im having some difficulties with the drag action fires a click event
> if it ends on a box... so my user intending to drag the view gets a 
> click event?
> if his mouse down and mouse up are both over the box.
> 
> You can see the effect in the standard boxes examples
> it isnt much of a problem if your click event is innocuous
> like changing the box color... but for something like opening
> a popup or page change or something more real
> this is a very bad thing.
Use a Click Handler.
Regards,
-- 
Christopher Schmidt
MetaCarta
    
    
More information about the Dev
mailing list