Commit fe1d20f
committed
fix(material/menu): incorrectly detaching lazy content when menu is transferred to a new trigger
The menu has some logic that detaches its lazy content when the animation is finished, however while the animation was running, the panel might've been picked up by another trigger. This ends up opening an empty menu panel to the new trigger.
These changes resolve the issue by checking if another trigger picked up the panel before detaching the lazy content.
Fixes #31687.1 parent 8aa35c6 commit fe1d20f
File tree
1 file changed
+8
-1
lines changed1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
303 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
304 | 311 | | |
305 | 312 | | |
306 | 313 | | |
| |||
0 commit comments