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

restore focus after patching cloned tree #3476

Merged
merged 1 commit into from
Oct 30, 2024
Merged

restore focus after patching cloned tree #3476

merged 1 commit into from
Oct 30, 2024

Conversation

SteffenDE
Copy link
Collaborator

The simplified morphdom call used to patch cloned trees did not restore focus to the previously focused element. This commit applies the same restoreFocus logic used in the normal morphdom call.

Fixes #3448.

The simplified morphdom call used to patch cloned trees did not restore
focus to the previously focused element. This commit applies the same
restoreFocus logic used in the normal morphdom call.

Fixes #3448.
@chrismccord chrismccord merged commit d99d02a into main Oct 30, 2024
14 checks passed
@chrismccord
Copy link
Member

❤️❤️❤️🐥🔥

@chrismccord chrismccord deleted the sd-cloned-focus branch October 30, 2024 18:46
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.

Input inside component loses focus if another slot changes
2 participants