Uh oh!
There was an error while loading. Please reload this page.
fix(material/expansion): panel appearing as open when parent is animating away - #11778
fix(material/expansion): panel appearing as open when parent is animating away#11778crisbeto wants to merge 1 commit into
Conversation
a019463 to
39ddff9CompareHi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
2 similar comments
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
Hi @crisbeto! This PR has merge conflicts due to recent upstream merges. |
39ddff9 to
53341e5Compare53341e5 to
fb72c01Comparestevenmcountryman
commented
Nov 28, 2018
fb72c01 to
0b2dde5Comparesimeyla
commented
Feb 20, 2019
@crisbeto Been spending all afternoon playing around and trying to understand this issue. Adding a class of Even if my slide animation on the 'outside' has an explicit css class and What I'm really having a difficult time understanding is why all the controls inside accordion are able to inherit This is most frustrating because you think animating a panel off screen will take about 15 minutes to do and then everything exploded in my face (literally!!) |
am-awais
commented
May 29, 2019
Please Solve this Issue ASAP. |
0b2dde5 to
639b3c2Comparecrisbeto
commented
Jan 1, 2020
Rebased and bumping to a P2, because the issue keeps getting reported. |
andrewseguin
commented
Jul 3, 2020
I think there is an unintended side-effect of this change. If your expansion panel starts as You can see this if you change the demo's expansion panel to be |
BazylPL
commented
Jul 8, 2020
any news on that conflict? |
…ting away Fixes an issue where the expansion panel will appear as if it is open, if the element is part of a component that is animating away. The issue comes from the fact that Angular resets the animation state to `void` which we don't have in the animation definitions. Fixesangular#11765.
639b3c2 to
16fe90eCompareOlliHolli
commented
Aug 8, 2022
Seeing that this is still not merged I have found another workaround. Notice that I added a "void" state and transition. It is duplicate code, but other than that I did not encounter any issues with it. |
crisbeto
commented
Dec 5, 2024
Closing in favor of #30119. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |

Fixes an issue where the expansion panel will appear as if it is open, if the element is part of a component that is animating away. The issue comes from the fact that Angular resets the animation state to
voidwhich we don't have in the animation definitions.Fixes#11765.