Skip to content

Firefox 52, 53 click event invoker doesn't work #3485

@trailskr

Description

@trailskr

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ❗ p4-importantPriority 4: this fixes bugs that violate documented behavior, or significantly improves perf.🐞 bugSomething isn't workingbrowser specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions