Open TimRoe opened 4 months ago
With the decision to remove inline Links for now, this bug is no longer present. However, slotted into the Paragraph component epic as it may return when trying to implement similar again--and, if not, can be closed then.
Unable to add severity label to this ticket. @TimRoe can you please add it
Added.
What happened?
While working on #168 it was noted that font scaling has a slight delay in scaling up the icon to match the bigger text. Not terribly problematic. However, when scaling the font down, the icon remains stuck much larger than it ought to be. Only tested in Storybook (not app). Navigating to a different story and back correctly rescales it. It is believed to maybe be an issue around rerendering, hence the upscaling working correctly but with a slight delay relative to the text.
This was not observed on Android which insisted on completely rebuilding the Expo App/Storybook whenever font size was changed. The icon scales up and down fine in iOS for all non-inline variants.
Video of bugged behavior:
https://github.com/department-of-veterans-affairs/va-mobile-library/assets/8690976/aff07892-9cd3-415c-af36-76738474ebcd
Steps to Reproduce
Desired behavior
Icon should scale back down appropriately with the text.
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 levelsLinked to Story
Noted during #168