Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(runtime-dom): fix the event listeners call in firefox <= 53 #3501

Merged
merged 2 commits into from
Mar 29, 2021
Merged

fix(runtime-dom): fix the event listeners call in firefox <= 53 #3501

merged 2 commits into from
Mar 29, 2021

Conversation

HcySunYang
Copy link
Member

@HcySunYang HcySunYang commented Mar 29, 2021

Fix: #3485

Find relevant information here https://github.com/erdong-fe/vue/commit/d3ce9d31221949cb367c38fa4c09dc3d2f6bef5c

I tested multiple scenarios in FF 52 and it works correctly

@HcySunYang HcySunYang added the ❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf. label Mar 29, 2021
@@ -1,4 +1,4 @@
import { hyphenate, isArray } from '@vue/shared'
import { hyphenate, isArray, isFF } from '@vue/shared'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since isFF isn't actually used anywhere else, and it being very version specific, let's just keep the detection logic here instead of in @vue/shared. Can also directly a variable named bailTimestampCheck.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@yyx990803 Firefox isn't the only platform that is affected by this. See this 2.6 PR for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❗ p4-important Priority 4: this fixes bugs that violate documented behavior, or significantly improves perf.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Firefox 52, 53 click event invoker doesn't work
3 participants