You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
touch and swipe a link and I get a swipe event instead of the link behavior
I do see a way around this -- I can register a touchSwipe click event on a non-excluded element, but this is less natural than just adding an A element, plus the approach will require allot of jumping through hoops to get dynamic content wired up and working correctly...
I'm thinking of something like a threshold (speed or distance) for specific elements, before you pass it, you get default behavior, go over, and it's a swipe... this will also make things like selecting text and focusing input elements more natural.
Note, this does not cancel out the need of completely excluded elements, so it's a slightly different category, not yet sure of a natural and simple way to deal with this, still thinking...
P.S. right now, for instance, if I remove A from excludedElements I get both a swipe and a link action and can't find a way to control this from the handlers...
The text was updated successfully, but these errors were encountered:
Here is something I'd like to control, a usecase:
I do see a way around this -- I can register a touchSwipe click event on a non-excluded element, but this is less natural than just adding an A element, plus the approach will require allot of jumping through hoops to get dynamic content wired up and working correctly...
I'm thinking of something like a threshold (speed or distance) for specific elements, before you pass it, you get default behavior, go over, and it's a swipe... this will also make things like selecting text and focusing input elements more natural.
Note, this does not cancel out the need of completely excluded elements, so it's a slightly different category, not yet sure of a natural and simple way to deal with this, still thinking...
P.S. right now, for instance, if I remove A from excludedElements I get both a swipe and a link action and can't find a way to control this from the handlers...
The text was updated successfully, but these errors were encountered: