Skip to content

Scrolling in interactive terminal UI (FAR Manager) #3514

@jherman

Description

@jherman

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:

ev.preventDefault();

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

  1. Setup a basic connection to a PTY session
  2. Start a UI that has scrolling like FAR manager

See image:

output-onlinegiftools

Metadata

Metadata

Assignees

Labels

type/bugSomething is misbehaving

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions