Within this div, I have implemented touch-action:pan-y;
. Surrounding this div is an anchor tag.
If you click on the div, the link will successfully redirect. However, if you swipe on the div and then click, the link won't work on the first attempt but will on the second one.
Essentially, any click event handlers do not trigger upon the first click after a swipe has occurred.
Is there a solution to resolve this issue without impacting SEO and crawlers?
I require touch-action:pan-y to prevent vertical scrolling when users swipe horizontally, but the downside is the need for two clicks post a swipe for the link to work.
Can anyone suggest a workaround that avoids causing issues with SEO?