Skip to content

Conversation

thisconnect
Copy link
Collaborator

Only apply focus to first element with autoFocus, if no other element already has focus.

This fixed a bug where typing into the input element looses focus due to re-rendering and re-focusing the same element.

Only apply focus to first element with autoFocus, if no other
element already has focus.

This fixed a bug where typing into the input element looses focus
due to re-rendering and re-focusing the same element.
Copy link
Collaborator

@shonsirsha shonsirsha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@thisconnect thisconnect merged commit 0a0378a into BitBoxSwiss:master Sep 29, 2025
11 of 12 checks passed
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.

2 participants