nnattawat / flip

A lightweight jQuery plugin to make 3D card flipping animation
Other
627 stars 312 forks source link

Fixes https://github.com/nnattawat/flip/issues/14 #15

Closed Download closed 9 years ago

Download commented 9 years ago

Please have a look at demo/flip-with-swipebox to see the issue if you use Flip v1.0.1, then compare with v1.0.2 to see the difference.

Stopping event propagation is dangerous because many scripts attach listeners to the document and catch the events in the bubbling phase. This allows them to monitor many elements without having to attach and detach listeners to them. Swipebox is one example of such a script. I discovered this bug because it wouldn't work when it was on a card being animated with Flip.