Commit b1514c4
authored
fix(material/menu): incorrectly detaching lazy content when menu is transferred to a new trigger (angular#31690)
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 angular#31687.1 parent b3131a6 commit b1514c4
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