Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to preventDefault inside passive event listener invocation. #5125

Open
ning-tangxi opened this issue Aug 12, 2024 · 0 comments
Open
Labels

Comments

@ning-tangxi
Copy link

First of all, thank you for your open-source project; it has been incredibly helpful!

I am currently encountering an issue where the console reports: "Unable to preventDefault inside passive event listener invocation." This is due to a recent browser update, which causes a conflict between options.passive = true and ev.preventDefault(), leading to an error with the mousedown event.

The issue is located in your code at: Terminal.ts:774 and Terminal.ts:544.
They use the same utility function: addDisposableDomListener

Have a nice day!

Details

  • Browser and browser version: Microsoft Edge(127.0.2651.98),Google Chrome(127.0.6533.100)
  • OS version: win11
  • xterm.js version: the last

##Screenshot
20240812-184552

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants