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 bug with tab navigation for mobile devices mode #595

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

MarufZak
Copy link

As a keyboard user, i noticed one little bug, which made the usage a bit inconvenient. Specifically:
Screenshot 2024-03-10 at 14 40 43
Everything seems good, but when i pressed tab to navigate to next controllable element, i noticed a bug:
Screenshot 2024-03-10 at 14 41 20
As you can see, multiple elements appeared in my screen. The behavior is same with other elements also (button, inputs, ...).
Although it might be better to lock the focus for the modal, the simplest way of fixing it was closing the modal and removing overlay, and moving to next controllable element on tab key press:
Screenshot 2024-03-10 at 14 45 31
Screenshot 2024-03-10 at 14 45 45

Copy link

vercel bot commented Mar 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
air-datepicker ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 10, 2024 9:47am

@MarufZak
Copy link
Author

You can see the outcome in the preview by navigating with tab key (Mobile devices mode)

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.

None yet

1 participant