briangonzalez / jquery.pep.js

👟 Pep, a lightweight plugin for kinetic drag on mobile/desktop
http://pep.briangonzalez.org
1.3k stars 178 forks source link

Ignore propagation on elements with interaction #170

Closed Anaphase closed 9 years ago

Anaphase commented 9 years ago

Instead of simply stopping propagation on events that originate on elements matched by elementsWithInteraction, let the event bubble up and just ignore it in handleStart(). This way, things that listen to the events further down the chain can actually use the event!