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

Conditionally disable keyboardNav #246

Merged
merged 2 commits into from
Jun 28, 2023

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Jun 28, 2023

Improves how keyboard navigation is handled by the DropdownList components.

Now, when the filterBar loses focus, we automatically disable keyboard navigation. Generally, when the filterBar loses focus, it's because the popover is closing, however, there are rare cases where this is not the case, e.g., when clicking very specific non-interactive slivers of the facet dropdowns.

It can also be disabled as an invocation argument in case this logic needs to come from elsewhere.

@jeffdaley jeffdaley marked this pull request as ready for review June 28, 2023 00:47
@jeffdaley jeffdaley requested a review from a team as a code owner June 28, 2023 00:47
@jeffdaley jeffdaley merged commit 5d1387b into main Jun 28, 2023
1 check passed
@jeffdaley jeffdaley deleted the jeffdaley/conditionally-disable-keyboard-nav branch June 28, 2023 16:41
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

2 participants