Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Make YaruExpansionPanel build lazily #892

Merged
merged 3 commits into from
May 1, 2024
Merged

Conversation

Feichtmeier
Copy link
Member

@Feichtmeier Feichtmeier commented May 1, 2024

This is helps with #814

By default all expansions are toggled but this can be disabled now if wanted, which then does not rebuild the other children.
Also the expandables are now wrapped in listview builders instead of a column.
If the scrolling needs to be disabled one can pass NeverScrollableScrollPhysics

This does not cover issues that may be in YaruExpandable

with collapseOnExpand: true:

Bildschirmaufnahme.2024-05-01.um.06.47.23.mov

with collapseOnExpand: false:

Bildschirmaufnahme.2024-05-01.um.06.49.34.mov

Ref #814

@Feichtmeier Feichtmeier requested review from spydon and Jupi007 May 1, 2024 04:39
Copy link
Member

@Jupi007 Jupi007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't test it for now, but from what I see LGTM 👍

Copy link
Collaborator

@spydon spydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm!

@Feichtmeier Feichtmeier merged commit e442fc9 into main May 1, 2024
10 checks passed
@Feichtmeier Feichtmeier deleted the Feichtmeier/issue814 branch May 1, 2024 09:40
@github-actions github-actions bot mentioned this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants