We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba0ebd4 commit 60a277cCopy full SHA for 60a277c
src/platforms/web/runtime/modules/events.js
@@ -46,8 +46,8 @@ function add (
46
passive: boolean
47
) {
48
// async edge case #6566: inner click event triggers patch, event handler
49
- // attached to outer element during patch, and triggered again. This only
50
- // happens in Chrome as it fires microtask ticks between event propagation.
+ // attached to outer element during patch, and triggered again. This
+ // happens because browsers fire microtask ticks between event propagation.
51
// the solution is simple: we save the timestamp when a handler is attached,
52
// and the handler would only fire if the event passed to it was fired
53
// AFTER it was attached.
0 commit comments