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

SearchInput + dropdown focuses on the wrong element #2494

Open
nickisaacs opened this issue Jan 24, 2025 · 0 comments
Open

SearchInput + dropdown focuses on the wrong element #2494

nickisaacs opened this issue Jan 24, 2025 · 0 comments

Comments

@nickisaacs
Copy link

nickisaacs commented Jan 24, 2025

Issue

The dropdown automatically focuses on one of its child element when you search for something. If the results are large, then the focus sometimes happens to be on an item that is not in the user's view.

Expected behaviour

The element should not automatically get focus when the user searches for something. Let them press the arrow down or select something themselves. Looks like it is matching the value field. Sometimes we pass IDs for the values so this fails there as well.

Stackblitz

IDK why the text in the search input is misaligned
https://stackblitz.com/edit/vitejs-vite-hzvftpfp?file=package.json,index.html,src%2FApp.tsx
Blade Version: 12.4.0

Video

Screen.Recording.2025-01-24.at.12.52.19.PM.mov
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

1 participant