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: replace randomUUID, fix border UI bug, simpler focus handling #2

Merged
merged 1 commit into from
Mar 17, 2024

Conversation

ben-basten
Copy link
Owner

@ben-basten ben-basten commented Mar 17, 2024

No description provided.

@ben-basten ben-basten force-pushed the task/combobox-pr-feedback branch from 680fd5d to 6a3269f Compare March 17, 2024 14:44
@ben-basten ben-basten marked this pull request as ready for review March 17, 2024 14:45
@ben-basten ben-basten changed the title task: resolve combobox PR feedback fix: replace randomUUID, fix border UI bug, simpler focus handling Mar 17, 2024
@ben-basten ben-basten merged commit 2959efa into feat/combobox-a11y Mar 17, 2024
ben-basten added a commit that referenced this pull request Mar 19, 2024
* bump skip link z index, to prevent overlap with the search box

* combobox refactor initial commit

* pull label into the combobox component

* feat(web): combobox accessibility improvements

* fix: replace crypto.randomUUID, fix border UI bug, simpler focus handling (#2)

* fix: handle changes in the selected option

* fix: better escape key handling in search bar

* fix: remove broken tailwind classes

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* fix: remove custom "outclick" handler logic

* fix: use focusout instead of custom key handlers to detect focus change

* fix: move escape key handling to the window

Also add escape key handling to the input box, to make sure that the "recent searches" dropdown gets closed too.

* fix: better input event handling

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>

* fix: highlighting selected dropdown element

---------

Co-authored-by: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com>
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.

1 participant