Skip to content

Conversation

squarejesse
Copy link
Contributor

These attributes only cause us pain.

In particular they aren't necessary to pass any of our layout tests, and by removing them I can fix a layout bug.

Note that on Android we do not use these attributes, so this brings the two platforms closer together.

Closes: #2753


  • CHANGELOG.md's "Unreleased" section has been updated, if applicable.

These attributes only cause us pain.

In particular they aren't necessary to pass any of
our layout tests, and by removing them I can fix a
layout bug.

Note that on Android we do not use these attributes,
so this brings the two platforms closer together.

Closes: #2753
@JakeWharton
Copy link
Collaborator

JakeWharton commented Aug 22, 2025

You might need to use an older simulator to generate the snapshot because of the GitHub runner debacle. I can upgrade us to macOS 15, Xcode 16.4, and iOS 18.4 next week.

@JakeWharton
Copy link
Collaborator

Or just @Ignore with a TODO and I'll un-ignore next week when I regenerate them all...

This way we can tell the view whether a measurement is
exactly (which it should honor unconditionally), or not
(which it might honor if its constraint is Fill).
@JakeWharton
Copy link
Collaborator

Until I do the switch, I was able to generate new screenshots for my PR by switching to Xcode 15.4 and using iOS 17.5 as the simulator.

@squarejesse
Copy link
Contributor Author

I generated the screenshots okay on my Mac.

@JakeWharton
Copy link
Collaborator

I think something with text hinting changed in iOS 18 so when we bump lots of the goldens change. I had to roll back to Xcode 15.4 and iOS 17.5 for mine.

@squarejesse squarejesse merged commit 04a3609 into trunk Aug 22, 2025
14 checks passed
@squarejesse squarejesse deleted the jwilson.0822.maxWidth branch August 22, 2025 22:00
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.

Bad layouts when mixing flex(1.0) inside a column that uses height=Constraint.Wrap
3 participants