-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DropdownMenuV2: update animation (#64868)
* DropdownMenuV2: update animation specs * Swap inner and outer wrappers so that role="menu" is direct parent of menuitems * CHANGELOG * Using currentPlacement instead of placement * Move z-index styles to inner wrapper * Consolidate animation styles * Tweak outer wrapper scale factor * Remove will-change as it seems to cause glitchiness * Add exit animation - Refactor from CSS animation to transition - Use `[data-enter]` and `[data-leave]` ariakit attributes - Move CSS comments inline * Remove unuesed import * Update packages/components/src/dropdown-menu-v2/styles.ts Co-authored-by: Marin Atanasov <[email protected]> * Change out animation duration to 200ms --------- Unlinked contributors: nick-a8c. Co-authored-by: ciampo <[email protected]> Co-authored-by: tyxla <[email protected]> Co-authored-by: jameskoster <[email protected]> Co-authored-by: mtias <[email protected]>
- Loading branch information
1 parent
52832f5
commit c0c870c
Showing
3 changed files
with
107 additions
and
69 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
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