Intermittent failure to render on iOS 11
See original GitHub issueI’m still investigating this and will add more here as I discover it, but I’m seeing that several (but not all) SVGs in my app intermittently (but not always) fail to render. Is anyone else seeing this?
According to the inspector, the element is there and has its proper dimensions as normal, but at least one element is completely invisible.
In my case, the elements in question are all Circle
s or Rect
s with gradient fills that are overlayed by something else. In one case, I have several shapes within one <Svg>
component, and only one of those shapes ( a Circle
) is intermittent, the rest work (inlcuding another Circle
) never fail.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
Intermittent Crash that we can not… | Apple Developer Forums
When running the App we have about 300 MB of free memory on the IPAD Pro 8 GB. The Crash logs are consistent....
Read more >Troubleshooting iOS 11 Problems | OSXDaily
Unfortunately, problems may arise during an iOS software update, either when attempting to install, or with a failed installation, ...
Read more >Common iPhone 11 Problems and How to Fix Them
Owners of Apple's iPhone 11 series have reported a variety of issues over time. Here are a few problems we've found and some...
Read more >How to fix iPhone 11 no service error, calls and texts not working
First solution: Reboot your iPhone 11. · Press and hold both the Side and Volume Up buttons for a few seconds. · Release...
Read more >OpenGL-ES, iPhone and intermittent error - Stack Overflow
I had this same problem. For me the fix was that in the opengl sample code of last year, Apple rebuilds the renderbuffer...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This doesn’t seem to happen for me anymore. But much in my setup has changed.
• iOS 12.1 • react-native: 0.55.4 • react-navigation: 2.2.5 • react-native-svg: 6.2.1
I found a workaround, my app reliably didn’t render any SVGs after pushing a screen anymore, which made it unusable.
I‘m now simply triggering a rerender of the SVG path, after it loaded by setting a new color value in a 0 timeout in componentDidMount.