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

Keyboard navigation with @orama/searchbox and vitepress #691

Open
stafyniaksacha opened this issue Apr 9, 2024 · 1 comment
Open

Keyboard navigation with @orama/searchbox and vitepress #691

stafyniaksacha opened this issue Apr 9, 2024 · 1 comment

Comments

@stafyniaksacha
Copy link

stafyniaksacha commented Apr 9, 2024

Describe the bug

When using native keyboard navigation, multiples issues occurs:

  1. ctrl+k: does not prevent default browser behavior, modal is open, but focus is given to browser address bar instead of the modal search input
  2. tab / shift+tab: when in search modal with results, using default shortcuts to focus next element does not focus element that have click handler, so we can't hit enter to select the result ( / works)

To Reproduce

Go to https://docs.askorama.ai/

Expected behavior

Environment Info

Affected areas

Search

Additional context

No response

@micheleriva
Copy link
Member

Hi @stafyniaksacha, thanks for opening this. We're currently reworking the searchbox, let me tag my colleagues who are working on this to ensure that this behavior is fixed.

cc. @g-francesca, @SaraVieira

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

No branches or pull requests

2 participants