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

Fix focus not returning to search icon #36370

Merged
merged 1 commit into from
Jan 26, 2023
Merged

Fix focus not returning to search icon #36370

merged 1 commit into from
Jan 26, 2023

Conversation

Pytal
Copy link
Member

@Pytal Pytal commented Jan 26, 2023

Summary

Fix focus not returning to search icon after closing menu with ESC key

Before After
image image

Checklist

- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Copy link
Contributor

@artonge artonge left a comment

Choose a reason for hiding this comment

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

Not sure about the rational here. Shouldn't the fix be located in the onClose method?

@skjnldsv
Copy link
Member

@artonge the headerMenu + focus-trap already handle the focus on and out :)

@Pytal
Copy link
Member Author

Pytal commented Jan 26, 2023

/backport to stable25

@Pytal Pytal added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jan 26, 2023
@Pytal Pytal merged commit 6d35424 into master Jan 26, 2023
@Pytal Pytal deleted the fix/search-focus branch January 26, 2023 23:40
@blizzz blizzz mentioned this pull request Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish accessibility bug feature: search
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants