forked from Workday/canvas-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(select): Convert more of Select to FC and improve code style (…
…Workday#827) * refactor(select): Convert SelectBase to FC and use hooks for scrolling * refactor(select): Convert menu state from booleans to string literals * fix(select): Handle interruptions in menu states For example, closing a menu which is in the process of opening (or vice-versa). * fix(select): Add rAF to scrolling code * chore(select): Rename rAF variable * refactor(select): Remove unnecessary animation prop * chore(select): Rename animation variable * refactor(select): Remove unnecessary isEmpty prop * chore(select): Remove unnecessary open prop * refactor(select): Convert menu placement from boolean to string literals * docs(select): Update code comments * chore(select): Rename menu visibility states for clarity and symmetry * docs(select): Update code examples in README * fix(select): Fix issue with focus not resetting after closing menu * chore(select): Remove switch case fall-through * docs(select): Update comments * test(select): Improve method of waiting for menu to close * chore(select): Convert defaultProps to default parameters * chore(select): Clean up grow stories * fix(select): Remove over-aggressive suppression of option selection * docs(select): Tweak examples
- Loading branch information
Showing
10 changed files
with
563 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.