pisi/Reel — Issue #68: Right mouse button exclusion
Author: pisi
Created: 2011-11-08 11:50:47+00:00
State: open

I've experienced this issue so many times.

In Webkit/Safari/Chrome when clicked on the image with right mouse button to bring up the context menu to click on "Inspect Element", the Reel motion stops in a `"mousedown"` phase waiting for mouseup, which didn't happen in the same window, because one's attention was drawn by the developers console. When going back to the original window, Reel starts to react, but with no button clicked. One must click inside the window for the `"mouseup"` be triggered to release the stuck `"mousedown"` and everything gets back to normal again.

As another example in Firefox the right click on the Reel instance does nothing.

I believe checking `"mousedown"` event's `which` for left button should be sufficient to remove this annoying bug.