Skip to content

Conversation

CGNonofr
Copy link

@CGNonofr CGNonofr commented Sep 23, 2025

In firefox, if getComputedStyle is called on the wrong window, it only return an empty style

The consequence for the user is the inability to select anything in the terminal

This PR make it so the right window object is used, both in Mouse.ts (the actual bug I want to fix) and in the fit addon that seems to have the same issue (although I don't know how to test it exactly)

@CGNonofr CGNonofr changed the title Fix firefox shadow dom selection Fix firefox selection when in shadow dom Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant