Overscroll problem with Flash object #42

Closed
emondpph opened this Issue Feb 16, 2012 · 0 comments

Comments

Projects
None yet
2 participants
@emondpph

I had a problem with your script while scrolling through a gallery of images and videos some of which were Flash Video.

I wasn't able to click on the flash video as your script was sending the event.preventDefault too soon.

I changed your script on line 355:
// only start drag if the user has not explictly banned it.
if (!start.is(data.options.cancelOn)) {
event.preventDefault();

So event.preventDefault is only called if the target is not part of my "cancelOn" selector.

Cheers!

@azoff azoff closed this in f3baa3a Feb 19, 2012

davidcorry added a commit to davidcorry/Overscroll that referenced this issue Feb 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment