Subscribe on changes!

Firefox 52, 53 click event invoker doesn't work

avatar
Mar 25th 2021

Version

3.0.7

Reproduction link

https://jsfiddle.net/iagafonov/ja5zx6cm/

Steps to reproduce

Use Firefox 52, click red element

What is expected?

click works (element text changed to "clicked")

What is actually happening?

click doesn't work


https://github.com/vuejs/vue-next/blob/bd1240c1270b610c4ffcf6c32e2bbe2c9265020f/packages/runtime-dom/src/modules/events.ts#L113 In Firefox < 52 and 53, e.timestamp - in wrong and strange format (for example todays e.timestamp === 237142265). That's why checking if (timeStamp >= invoker.attached - 1) { never passes