Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Overscroll problem with Flash object #42

Closed
emondpph opened this Issue · 0 comments

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
@davidcorry davidcorry referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@davidcorry davidcorry referenced this issue from a commit in davidcorry/Overscroll
Jonathan Azoff Don't prevent default until after checking cancel on. Closes #42 bec046f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.