Skip to content

Conversation

@knoxfighter
Copy link
Contributor

This contains a lot of changes and fixes for the Select component to make disabling options properly work (see #169).

  • I had to write custom focus_prev, focus_last, focus_next, focus_first, etc. functions that are independent of the ones in FocusState. This also means that i removed FocusState from the SelectContext component.
  • The options Vec is now a BTreeMap, to make it easy to sort via tabindex.
  • Small aria adjustments
  • Additional tests

I hope this code is up to your standards and the idea is something you are willing to use.

@github-actions
Copy link

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