Skip to content

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Jan 22, 2025

Attempt at fixing #1129.

This does seem to fix that issue with the reproduction steps listed there, but I still see it if I create a stack with a terminal and firefox, focus the terminal (element index 0 in the stack) and close it, then try to type in firefox (now element index 0).

So managing what child has keyboard focus still needs some work. I'm not sure exactly what conditions apply were I've randomly seen this behavior in actual use (and if this particular change helps) or if this could cause problems.

Attempt at fixing #1129.

This does seem to fix that issue with the reproduction steps listed
there, but I still see it if I create a stack with a terminal and
firefox, focus the terminal (element index 0 in the stack) and close it,
then try to type in firefox (now element index 0).

So managing what child has keyboard focus still needs some work. I'm not
sure exactly what conditions apply were I've randomly seen this behavior
in actual use (and if this particular change helps) or if this could
cause problems.
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