react-native-svg icon indicating copy to clipboard operation
react-native-svg copied to clipboard

Scale icons with accessibility text size on iOS

Open devinjameson opened this issue 3 years ago • 1 comments

Feature Request

Is it possible to scale icons with the accessibility text size set in iOS settings? This is considered best practice so text can't be huge relative to icons, as the two often go together.

Why it is needed

See screenshot below. This is a screenshot of an app with accessibility text size set to the largest possible size. Icons should be able to scale with accessibility font size.

Screen Shot 2021-02-27 at 6 05 44 PM

Possible implementation

Is there a way to hook into the accessibility text size set in Settings and scale icons accordingly if SvgXml received a certain prop e.g. scaleWithAccessibilityTextSize.

devinjameson avatar Feb 27 '21 23:02 devinjameson