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

Scrollable FacetDropdowns with keyboard support #56

Merged
merged 31 commits into from
Mar 10, 2023

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Feb 16, 2023

  • Allows FacetDropdowns to display all filters instead of just the first 10
  • Includes a type-to-filter function for long lists, along with a scrollable overflow container
  • Improves keyboard-navigation
  • Adds documentation and tests

@jeffdaley jeffdaley changed the title Show all filters in FacetDropdowns Scrollable FacetDropdowns Feb 23, 2023
@jeffdaley jeffdaley force-pushed the jeffdaley/facet-overflow branch 3 times, most recently from 4134d21 to f1c0b7a Compare February 23, 2023 16:05
@jeffdaley jeffdaley changed the title Scrollable FacetDropdowns Scrollable FacetDropdowns with keyboard support Feb 23, 2023
@jeffdaley jeffdaley marked this pull request as ready for review February 23, 2023 16:14
@jeffdaley jeffdaley requested a review from a team as a code owner February 23, 2023 16:14
Copy link
Contributor

@jfreda jfreda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds documentation and tests
😻

Looks good, and excited for improved ⌨️ support!

@jeffdaley jeffdaley merged commit 9ecb4c7 into main Mar 10, 2023
@jeffdaley jeffdaley deleted the jeffdaley/facet-overflow branch March 10, 2023 00:48
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
* Prototype of Facet overflow

* Listbox functions and design tweaks

* Dismiss on focus/clickout; Search resets

* Dismissibility

* Improve documentation

* Add and update tests

* Component breakup; aria-activedescendant

* Improved keyboard functions

* Improve ID assignment and mouse interaction

* Add tests; Improve aria-roles

* Add ListItem tests

* Dismissible tests

* Renaming and cleanup

* Remove `autofocus` modifier

* Remove element assignment

* Improve maybeScrollIntoView

* Move functions to parent component, update tests

* Fix failing tests

* Make filters clickable

* Fix tests; Cleanup

* Short-term sortBy fix

* Add SortBy support and fix tests

* Documentation and cleanup

* Add ARIA references

* More list-item tests; Add Sinon

* Cleanup
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