Commit ce195de
committed
fix(material/menu): animation issue when same menu is used for multiple nested triggers (#29280)
If the same menu is passed to different triggers and the user moves quickly between the menus (e.g. in a nested menu), an empty menu panel can show up while the closed menu is animating away. This is because the content needs to be moved over to the new menu.
These changes hide the empty menu panel immediately using CSS to avoid the glichy behavior.
(cherry picked from commit 3550a87)1 parent 2dff093 commit ce195de
File tree
1 file changed
+7
-0
lines changed1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
59 | 66 | | |
60 | 67 | | |
61 | 68 | | |
| |||
0 commit comments