Skip to content

Resolved collapsible nesting issues#463

Merged
valadas merged 2 commits intoDNNCommunity:release/0.14.0from
valadas:collapsible-nesting
Feb 20, 2022
Merged

Resolved collapsible nesting issues#463
valadas merged 2 commits intoDNNCommunity:release/0.14.0from
valadas:collapsible-nesting

Conversation

@valadas
Copy link
Copy Markdown
Member

@valadas valadas commented Feb 20, 2022

This refactors the collapsible component to be more simple and fixes an issue with nesting collapsible in a certain way where parents would not update their size properly if the contents of slots are dynamically changed at runtime.

The behaviour here is that it will transition to the height of the knows content but afterwards will release the fixed size and just snap to the new content should it change dynamically. We win in usability here but have a small snap UI effect in some situations. I would like to improve this one day, but for now, this makes it more usable.

@valadas valadas added the bug Something isn't working label Feb 20, 2022
@valadas valadas added this to the 0.14.0 milestone Feb 20, 2022
@valadas valadas merged commit a9e764e into DNNCommunity:release/0.14.0 Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant