Skip to content

Fix stale layout after width change#163

Merged
bryankeller merged 1 commit into
masterfrom
bk/fix-rotation-bug
Jun 23, 2026
Merged

Fix stale layout after width change#163
bryankeller merged 1 commit into
masterfrom
bk/fix-rotation-bug

Conversation

@bryankeller

Copy link
Copy Markdown
Contributor

After rotating, we need to update layout metrics by checking the delegate, otherwise a delegate that returns a different size mode depending on something like the trait collection won't update after rotation.

@bryankeller bryankeller requested a review from brynbodayle June 23, 2026 18:51

@brynbodayle brynbodayle left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Add a test case for this?

@bryankeller bryankeller merged commit b6c137e into master Jun 23, 2026
1 check passed
@bryankeller

Copy link
Copy Markdown
Contributor Author

The actual layout object is untested right now. I do think we should improve that, though. I'll see what I can come up with.

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