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

Disable back/forward keyboard navigation if user is typing #1077

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

anastasiya1155
Copy link
Collaborator

When pressing cmd + ArrowLeft/ArrowRight we navigate the user back/forward, but this is unwanted behavior in case the user is typing and wants to go to input start or end. Solution: check if user focus is inside some input or textarea before handling arrow navigation.

@anastasiya1155 anastasiya1155 merged commit 8c5d815 into main Oct 26, 2023
4 checks passed
@anastasiya1155 anastasiya1155 deleted the fix-nav-issues branch October 26, 2023 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants