I’m using FastClick on a page with large links because I want to bypass the 300ms delay for taps in mobile browsers. I have a “highlight” style for the links’ :active
states and it is properly firing quickly, thanks to FastClick.
My problem is that – in Mobile Safari at least – it also fires while you’re tapping and swiping to scroll the page. This makes it feel like you can’t scroll the page without it thinking you’re trying to tap the links.
Is there a way to prevent it from firing when someone scrolls?
Maybe you can add the needsclick
class to the body?
<body class="needsclick">
...
</body>
Just an idea :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With