Skip to content Skip to sidebar Skip to footer

Why Is Dragging In Raphaël Broken By Stopping Propagation Of Mousemove In An Enclosing Element In The Bubble Phase?

I am trying to debug an event handling bug in a complicated web application, but I've reduced the problem to a simple example that demonstrates the behaviour that I'm confused by.

Solution 1:

I tried asking about this on the Raphaël mailing list, and the replies there explain that the Raphaël mousemove handler is actually attached to document, which explains the behaviour I was seeing. One of the replies also explains why dragging needs to be implemented like that:


Post a Comment for "Why Is Dragging In Raphaël Broken By Stopping Propagation Of Mousemove In An Enclosing Element In The Bubble Phase?"