SvenTiigi / WhatsNewKit

Showcase your awesome new app features 📱
https://sventiigi.github.io/WhatsNewKit/
MIT License
3.87k stars 190 forks source link

Fix issue 52 – prevent vertical collapsing of text on iOS 14 #53

Closed AndrewBennet closed 2 years ago

AndrewBennet commented 2 years ago

Fixes https://github.com/SvenTiigi/WhatsNewKit/issues/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
SvenTiigi commented 2 years ago

Hi @AndrewBennet

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

SvenTiigi commented 2 years ago

Your changes are now available with the new version 2.0.1