Mousewheel scroll stopped working
See original GitHub issueNWJS Version : 0.35.1-sdk (I believe I saw it on 0.34.x versions as well) Operating System : Windows 10 x64
The issue: (using an app I’m writing) sometimes the “mousewheel scroll” stops working for no apparent reason. Scrolling the wheel on my mouse doesn’t do anything.
Some notes/debugging:
- I can still scroll using
window.scrollTo()
- I can still scroll dragging the scrollbar
- manually adding a
$(document).on('wheel', (e) => console.log(e))
does report wheel scrolls, but nw itself doesn’t seem to see or act on it. The document doesn’t scroll. It is not defaultPrevented either. - I don’t use any kind of ‘wheel’ event modification in my code.
- I was able to fix it with a ‘wheel click’ (also know as middle-click) to scroll the document with only the mouse dragging. After that, the scroll wheel worked again.
- I do have a lot “dom-banging” (I believe it’s called that) in my app, using entire pages .show() and .hide(), as well as a fairly good amount of .append(), all using jQuery. Dunno if that’s relevant.
Steps to reproduce: sorry, no idea. It happens randomly, maybe once every 10 hours of using nwjs, or even every 20 hours. Not often though.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to Fix It When Your Mouse Scroll Is Not Working
Causes of Mouse Wheel Not Scrolling ... When the mouse won't scroll, there are two issues that most commonly cause it. The first...
Read more >How to Fix it When Your Mouse Scroll is Not Working
The most typical causes of a mouse that will not scroll are two difficulties. The first is that dust and grime clog the...
Read more >How to Fix the Wheel on My Mouse if It's Not Working
In the Mouse Properties window, select the Wheel tab. Then, try adjusting the number of lines to scroll the mouse or changing the...
Read more >Methods to Solve Mouse Scroll Wheel Not Working in ...
The article describes the various techniques that can help users get rid of the scroll wheel issues in their mouse using basic troubleshooting....
Read more >Mouse Scroll Wheel Not Working [SOLVED]
Your mouse scroll wheel may stop working if you are using the wrong mouse driver or it's out of date. So you should...
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
I think this is a Chromium issue, it happens quite frequently when using sites like Twitter. For some reason pressing the mouse wheel button fixes it but the cause is still unknown, as far as I know.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.