When using a console UI tool like FAR Manager, scrolling seems to throw a Unable to preventDefault inside passive event listener invocation.. I can scroll without errors when I'm not in this terminal UI.
I've seen a few other cases/fixes surrounding this but none seem to address this in particular:
#2931
#3004
#3110
I've tried altering xterm.js code to remove the preventDefault in the wheel scroll, and that does seem to stop it, however it then tosses the error when I'm out of the terminal UI.
The line that errors:
Details
- Browser and browser version:
Chrome Version 94.0.4606.81 (Official Build) (64-bit)
- OS version:
Microsoft Windows 10 Enterprise Release [2009] Version 21H1
- xterm.js version:
xterm 4.14.1
Steps to reproduce
- Setup a basic connection to a PTY session
- Start a UI that has scrolling like FAR manager
See image:

When using a console UI tool like FAR Manager, scrolling seems to throw a
Unable to preventDefault inside passive event listener invocation.. I can scroll without errors when I'm not in this terminal UI.I've seen a few other cases/fixes surrounding this but none seem to address this in particular:
#2931
#3004
#3110
I've tried altering xterm.js code to remove the
preventDefaultin the wheel scroll, and that does seem to stop it, however it then tosses the error when I'm out of the terminal UI.The line that errors:
xterm.js/src/browser/Terminal.ts
Line 702 in 80d4742
Details
Chrome Version 94.0.4606.81 (Official Build) (64-bit)Microsoft Windows 10 Enterprise Release [2009] Version 21H1xterm 4.14.1Steps to reproduce
See image: