You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureLabel used to distinguish feature request from other issues
The body is created at the panel creation, meaning that if your panel has a large content and it takes time to create a panel body that will probably not even be viewed.
What is the use-case or motivation for changing an existing behavior?
I have expansion panels that can have a lot of content, they sometimes take more than 500ms to render, that's a lot of time. If I put a *ngif in the body binded to the expanded status, it's way better but the expansion collapse is a bit broken because the content immediatly disappears when you collapse.
Not related to your feature request, but more to your use case: have you tried to use a setTimeout to change the expanded status, so you can keep its content visible until the expansion is completely closed?
P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentfeatureLabel used to distinguish feature request from other issues
Activity
julianobrasil commentedon Nov 4, 2017
Not related to your feature request, but more to your use case: have you tried to use a
setTimeoutto change the expanded status, so you can keep its content visible until the expansion is completely closed?Supamiu commentedon Nov 4, 2017
using a
setTimeoutfeels bad in my opinion, mainly because I don't know how much time the expansion panel will take to close.That being said, it's a great idea for a hotfix if I put this at around a second, while waiting for the feature to be implemented (if it is).
amcdnl commentedon Nov 5, 2017
@jelbourn - I wonder if this could use the same treatment as we did for tabs?
perf(expansion-panel): render content lazily
perf(expansion-panel): render content lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily
feat(expansion-panel): allow for content to be rendered lazily (#8243)
angular-automatic-lock-bot commentedon Sep 7, 2019
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.