-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gradient doesn´t render on iOS #39
Comments
Please see the updated status |
@iyegoroff Thanks for information. |
Oh I found best solution, it can run both ios and android very well ! const GradientText = props => ( |
@huygo93123, you make my day )))) thanks for solution |
@huygo93123 This works perfectly, thanks for this. I wrapped it up in Typescript and exposed the gradient props:
|
@jwoodmansey Thank you sir 🙇🏼 |
Hi @huygo93123 I've found this solution working but also very poor performance on Android!! I have a flatlist with every item having 2 gradient texts and it becomes laggy on even only 20 items! |
@iyegoroff sometimes rntg randomly fails in rendering and gives out grey text instead of gradient!! How this can be?? |
Worked! Awesome! Thank you. |
|
Bug
The code below works on Android but doesn't render the gradient on iOS.
React native info output:
react-native-text-gradient version: 0.1.7
Code to reproduce:
Images from my App
iOS
Android
The text was updated successfully, but these errors were encountered: