question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text path rendering bug in react-native-svg

See original GitHub issue

Minimal reproduction of text path rendering bug in react-native-svg: https://github.com/msand/RNSvgTextBug

Renders correctly in web / next.js, the text is on top of the path referenced in textpath

Renders incorrectly in native, text is below path (at least android, haven’t tried ios)

To test android:

react-native run-android

To test web:

npm run dev

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
msandcommented, Jun 18, 2017

I’ve just pushed a new branch, fixing most of my issues and most of the conformance with the examples from the spec page. https://github.com/msand/react-native-svg/tree/TextOnAPathLayoutRulesConformance

1reaction
sssssssssssscommented, Jun 14, 2017

@msand I see. I just fixed my use case and doesn’t test textpath yet. Thanks for the tip.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Text path rendering bug in react-native-svg · Issue #362 - GitHub
Minimal reproduction of text path rendering bug in react-native-svg: https://github.com/msand/RNSvgTextBug Renders correctly in web ...
Read more >
react-native-svg - npm
To render output like this: SVG example. Use the following code: import Svg, { Circle, Ellipse, G, Text, TSpan, TextPath, Path, Polygon, ...
Read more >
React native svg not rendered correct - Stack Overflow
I was able to render the SVG on iOS under React Native as follows: https://www.codepile.net/pile/7AP5vlmn (use this code).
Read more >
Performance Overview - React Native
This guide is intended to teach you some basics to help you to troubleshoot performance issues, as well as discuss common sources of ......
Read more >
How to import SVG files in React Native using react-native-svg
Rendering SVG shapes in React Native; How to render SVG images and ... If you open an SVG file in a text editor,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found