department-of-veterans-affairs / va-mobile-library

https://department-of-veterans-affairs.github.io/va-mobile-library/
ISC License
0 stars 0 forks source link

BUG - Sev 2 - iOS/Android - Link - Text wrap goes off visible screen #303

Closed TimRoe closed 1 month ago

TimRoe commented 1 month ago

What happened?

Flagship noted that with long Link text that the text will wrap off the screen: image (word "file" is not visible)

This was noticed during development of the Link, but chalked up to weirdness with Storybook and thinking it was allowing the weird wrapping due to not being confined within other screen elements as it would be in an app use case. It turns out it does, however, manifest and even worse in the app due to padding further shrinking the actual display area.

Steps to Reproduce

  1. Use the Link component
  2. Have a long text associated with the Link such that it wraps.

Desired behavior

Text remains on the screen in all cases and wraps as intuitive within the containing elements it's placed within.

Bug Severity - BE SURE TO ADD THE SEVERITY LABEL

See [Bug Tracking](https://department-of-veterans-affairs.github.io/va-mobile-app/docs/QA#issue-severity) for details on severity levels