-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cancelOn regex expressions #22
Comments
Just noticed also on old version(1.4.3) clickling links works without problem, latest 2 versions clicking seems disabled. Don't really know if it's correct or not thu. Talking about iPad(v. 4.2.1). |
Thanks for this, I will look into it ASAP |
So I just took another look at this and realized that you may not understand the input that cancelOn accepts (hence your desire for a regex). The cancelOn option takes as input anything that the jQuery function takes as input. For more details see the jQuery docs: http://api.jquery.com/jQuery/#jQuery1 I am, however, looking into ways to make click events a bit less cumbersome - more to come soon... |
All right add some click insulation on commit [master e1b57f7], slated for 1.4.6 |
It looks like this change can cause problems with the thumb scrolling backwards when the scrolling is drifting from a mouse click. Reverting this change seems to fix it. |
@tjsnyder can you help me replicate this issue, I can't seem to reproduce this locally - Also any browser information you can part with would be appreciated! |
Safari 5.1 What happens is that when it drifts, the thumb looks like it is moving in the opposite direction and then 'catches up' to where it should be after it fades away. Other changes which could be a larger factor, I have line 112 changed from relative to absolute and I am forcing it into vertical scrolling only in the options. |
Cool, I'll take a look at it as soon as I have a free moment. Thanks! On Mon, Sep 12, 2011 at 4:52 PM, Timothy Snyder <
|
So I took another look at it today an here are my findings:
Simply because these points seem to be inconclusive, I am closing this issue. If something new comes up, let's just create a new issue with clear reproduction steps (like a jsbin example or something) so that there is no confusion. |
Hi,
I've tried to add regex expressions on cancelOn event but seems that doesn't work.
Example:
cancelOn: 'a[href^="http://"]'
cancelOn: '/http://.\b/'
cancelOn: '((https?|ftp|gopher|telnet|file|notes|ms-help):((//)|(\))+[\w\d:#@%/;$()~?+-=.&]_)'
Will be a good thing to implement so you can choose elements you want to cancel without using a class.
Also, is it corect that scroll doesn't work over youtube html5 video iframe ? (well embed/object elements).
Best regards,
Aurel Tirnovanu
The text was updated successfully, but these errors were encountered: