Allow disabling wheel event handling for standalone instances
See original GitHub issueI don’t want to let the user scroll since it interferes with main page scrolling.
My current workaround is to wrap Excalidraw into this:
<div
onWheelCapture={e => {
// Stop Excalidraw from hijacking scroll
e.stopPropagation();
}}
>
But it’s not a very well-known workaround so a prop to disable wheel event handling would be nice too.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:11 (9 by maintainers)
Top Results From Across the Web
How to disable scrolling temporarily? - javascript
The scroll event cannot be canceled. But you can do it by canceling these interaction events: Mouse & Touch scroll and Buttons associated ......
Read more >Setting up and enabling Enhanced Monitoring
In Monitoring, choose Enable Enhanced Monitoring for your DB instance or read replica. To turn Enhanced Monitoring off, choose Disable Enhanced Monitoring. Set ......
Read more >Handle events - Unity - Manual
Implement your class default actions in ExecuteDefaultActions() , if possible. This allows more options to override the class. You can call PreventDefault() to ......
Read more >Element: wheel event - Web APIs | MDN
Use the event name in methods like addEventListener() , or set an event handler property. addEventListener('wheel', (event) => {}); onwheel ...
Read more >GUI Programming - Java Programming Tutorial
Constructor to setup the GUI components and event handlers public ... instance public void setEnable(boolean enable); // Enable or disable this Button.
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 FreeTop 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
Top GitHub Comments
scrollBehaviour
sounds good, but let’s go with US spellingscrollBehavior
😃.Hi, haven’t gotten a chance to look into this yet, hopefully, will pick it up sometime soon but don’t have a timeline, PR’s welcome!