-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
Description
I tried using the letterSpacing prop from Text component and observed the following:
- When I give a
numberto it, it doesn't apply the correct spacing (on iOS only, works on web not tested on android) - When I give a
stringto it, it does apply to the correct spacing
Here is the example I used:
with letterSpacing={-9} |
with letterSpacing={'-9'} |
|---|---|
![]() |
![]() |
Steps to reproduce
Create an Svg with a Text inside it and pass it the letterSpacing prop with a number
Snack or a link to a repository
https://github.com/thomascoumau/rnsvg-text-letterspacing
SVG version
15.3.0
React Native version
0.73
Platforms
iOS
JavaScript runtime
None
Workflow
None
Architecture
None
Build type
None
Device
None
Device model
iPhone 16 Pro on iOS 18.1 Simulator
Acknowledgements
Yes

