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

react aria compatible menu selection #1507

Draft
wants to merge 1 commit into
base: T79402_menu_multi_selection
Choose a base branch
from

Conversation

stephenjwatkins
Copy link
Contributor

@stephenjwatkins stephenjwatkins commented Nov 29, 2024

  • example of react aria menu compatible selection
  • other menu fixes

Link to Story:
https://menu-adjustment--63f50c7c86f6514d2e0ef4be.chromatic.com/?path=/story/components-menu--multiple-selection-with-select-all

View "Actions" panel to see how behavior reflects what is expected for React Aria selection. When selecting a list of items the returned keys are an array of items. When selecting "Select all" directly, the key returned is "all". This matches what is outlined here: https://react-spectrum.adobe.com/react-aria/selection.html#select-all

We'll also want to update the docs to note this.

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