question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Chrome 73 Treats Document Level Wheel/Mousewheel Event Listeners as Passive

See original GitHub issue

Describe the bug

When zoom in using the touchpad, browser gives many duplicated console errors as below.

[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312

To Reproduce

Using MacOS Google Chrome Version 73.0.3683.86 (Official Build) (64-bit) When Using the touch pad to zoom in at then timeline canvas, the error logs come out. And not only the date range changes, also whole page is zoomed in.

Expected behavior When zoom in guesture at the timeline canvas, only the date range changes, the whole page should not be zoomed in.

Library Version “react-calendar-timeline”: “^0.23.0”,

Desktop (please complete the following information):

  • OS MacOS Majove 10.14.3
  • Browser Chrome
  • Version >= 73

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:11
  • Comments:14

github_iconTop GitHub Comments

3reactions
Ilaiwicommented, Apr 17, 2019

@FutureArchitect-wang2449 @richardgirges could any of you guys confirm that the fix is working here? https://csb-ov2pr5j9zy-npcizlrdri.now.sh/

0reactions
FutureArchitect-wang2449commented, May 7, 2019

@Ilaiwi Thank you for fixing this. That helps!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Treat Document Level Wheel/Mousewheel Event Listeners as ...
The wheel/mousewheel event listeners that are registered on document level targets (window.document, window.document.body, or window) will ...
Read more >
Treat Document Level Wheel/Mousewheel Event Listeners as ...
Summary wheel/mousewheel event listeners that are registered on document level targets (window.document, window.document.body, or window) will be treated as ...
Read more >
Use passive listeners to improve scrolling performance
Touch and wheel event listeners are useful for tracking user interactions and creating custom scrolling experiences, but they can also delay ...
Read more >
Smooth Scroll... not smooth at all - Support - Themeco Forum
Treat Document Level Wheel/Mousewheel Event Listeners as Passive · Chrome 73 breaks wheel events. For now, I advise to turn off the Smooth...
Read more >
WordPress Scroll To Div On Mouse Scroll Using JavaScript
2. As per Chrome v73 update -- Treat Document Level Wheel/Mousewheel Event Listeners as Passive. They've stated the following. The wheel/ ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found