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

Propagate the stashed state correctly #613

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

DJMcNab
Copy link
Member

@DJMcNab DJMcNab commented Sep 24, 2024

This currently errors with ERROR layout: Error in 'ScrollBar' #385: trying to compute layout of stashed widget. if more items are added so a scrollbar becomes visible when it wasn't previously (e.g. in to_do_list).

@PoignardAzur would you be willing to take over digging into this - this happens because is_stashed doesn't get immediately reset upon calling set_stashed, due to the stashed pass. However, Portal wants to require that this is immediately set.

This is discussed in #masonry>to_do_list: Horrendous performance

@PoignardAzur
Copy link
Contributor

Can do.

My immediate thought is we probably want layout to process is_explicitly_stashed rather than is_stashed for that safety check.

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.

2 participants