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 issue 52 – prevent vertical collapsing of text on iOS 14 #53

Merged
merged 5 commits into from
Jan 9, 2022

Conversation

AndrewBennet
Copy link
Contributor

@AndrewBennet AndrewBennet commented Jan 9, 2022

Fixes #52

Applying a fix which I have used in my own apps before – adding fixedSize(horizontal: false, vertical: true) – prevents the text truncation from happening. Looks like it has actually been fixed in iOS 15 anyway, so you could consider having a modifier which only applies this modifier when iOS 15 is not available, but not sure if that's necessary.

See before change:
Screenshot 2022-01-09 at 21 49 49
After:
Screenshot 2022-01-09 at 21 30 42

@AndrewBennet AndrewBennet changed the title Fix #52 – prevent vertical collapsing of text on iOS 14 Fix https://github.com/SvenTiigi/WhatsNewKit/issues/52 – prevent vertical collapsing of text on iOS 14 Jan 9, 2022
@AndrewBennet AndrewBennet changed the title Fix https://github.com/SvenTiigi/WhatsNewKit/issues/52 – prevent vertical collapsing of text on iOS 14 Fix issue 52 – prevent vertical collapsing of text on iOS 14 Jan 9, 2022
@SvenTiigi SvenTiigi changed the base branch from master to develop January 9, 2022 22:01
@SvenTiigi
Copy link
Owner

Hi @AndrewBennet

Great find 👍
Your changes will be included in the next release.

@SvenTiigi SvenTiigi merged commit 6812d35 into SvenTiigi:develop Jan 9, 2022
@SvenTiigi SvenTiigi mentioned this pull request Jan 9, 2022
@SvenTiigi
Copy link
Owner

Your changes are now available with the new version 2.0.1

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.

Truncated text on iOS 14
2 participants