Open
Description
Description
The path of a Circle
component seems to be wrong on Android. This can be visualized by using a TextPath
. As you can see below, the text on Android gets bunched up in some places where it shouldn't. Also when the text is anchored to the end, it totally disappears.
iOS (left) vs android (right)


Links
Snack: https://snack.expo.dev/@sjoertjuhowow/react-native-svg-circle-path-bug?platform=android
Repo: https://github.com/Sjoertjuh/react-native-svg-circle-path-bug
Steps to reproduce
- Create an
Svg
- Add a
Circle
(with an id, size, and radius) - Add a
Text
with childTextPath
that has anhref
of the circle's id and atextOffset
of100%
- See the text bunching up instead of being hidden
Snack or a link to a repository
https://github.com/Sjoertjuh/react-native-svg-circle-path-bug
SVG version
15.8.0
React Native version
0.76.6
Platforms
Android, iOS
JavaScript runtime
Hermes
Workflow
Expo Go
Architecture
None
Build type
None
Device
Real device
Device model
No response
Acknowledgements
Yes