Chrome 73 Treats Document Level Wheel/Mousewheel Event Listeners as Passive
See original GitHub issueDescribe 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:
- Created 4 years ago
- Reactions:11
- Comments:14
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@FutureArchitect-wang2449 @richardgirges could any of you guys confirm that the fix is working here? https://csb-ov2pr5j9zy-npcizlrdri.now.sh/
@Ilaiwi Thank you for fixing this. That helps!