We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cd21ba commit 3bdc41dCopy full SHA for 3bdc41d
packages/runtime-dom/src/modules/events.ts
@@ -25,7 +25,7 @@ const [_getNow, skipTimestampCheck] = /*#__PURE__*/ (() => {
25
// if the low-res timestamp which is bigger than the event timestamp
26
// (which is evaluated AFTER) it means the event is using a hi-res timestamp,
27
// and we need to use the hi-res version for event listeners as well.
28
- _getNow = () => performance.now()
+ _getNow = performance.now.bind(performance)
29
}
30
// #3485: Firefox <= 53 has incorrect Event.timeStamp implementation
31
// and does not fire microtasks in between event propagation, so safe to exclude.
0 commit comments