Firefox has very big delay on tap until click event gets triggered

214
June 06, 2017, at 03:57 AM

I'm seeing a big delay of seconds after I touched a <a> element in Firefox (54) until the click event gets fired. On Mouse Click I don't see any delay.

I'm using jQuery's $a.click( event handler, but I have the same behaviour if I use the native a.addEventListener.

I tried to analyse it and recorded when touchend event is fired and how long it takes until the click event gets fired.

I'm getting quite mixed results – from 10 to 7000 ms between the touchend and click. An alert is showing the delay, and after that the rest of the click handler is still executed quite late.

Also when using browsersync, and tapping the element on my phone, I see a reaction in the other browser immediately – but the phone firefox doesn't react for seconds.

Thanks for any hints on why the execution could be delayed so much.

READ ALSO
Narrow results by typing case sensitivity issue [duplicate]

Narrow results by typing case sensitivity issue [duplicate]

This question already has an answer here:

213
Navigate to id in Content widget from Text widget on Wordpress page

Navigate to id in Content widget from Text widget on Wordpress page

I have a Wordpress page with a text widget containing a select dropdown menu, along with a JQuery function to scroll to an id of a dl element in a separate content widget on the same pageThe dl elements are contained within separate columns on a different...

255
Fucntion parameter values to replace the integer from a string

Fucntion parameter values to replace the integer from a string

I have a function the parameter has more than one values which I'm passing them after a loopI want to use the values Im getting to replace integers in a string by there older

202
How to Fix a Dynamic Document Size Error?

How to Fix a Dynamic Document Size Error?

I have a Menu-list, and when I pass the mouse hover an item display another list, but this list is larger and change the height of the documentThis create a bug in the page

274