compound-web
b449be4d - Remove closing animation of `Menu` component (#432)

Commit
179 days ago
Remove closing animation of `Menu` component (#432) * feat: add props to disable closing animation of `Menu` The closing animation is launched when the menu is closed (looking at data-state="closed"). If we remove the menu trigger menu from the dom when the menu is closed, the animation is still ongoing and causes the menu to be positioned at 0,0. * refactor: use `hasClosingAnimation=false` for `ContextMenu` * test: update snapshot * test(e2e): add screenshot * fix: remove closing animation of `Menu`
Author
Parents
Loading