-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Shimmer not working on iOS #27
Comments
Any updates on this? |
Temporary workaround, set "animating" as false initially and change from false to true with a time out on componentDidMount or useEffect callbacks. It works |
@pragadeeshk can you give example code |
@jindalankush28 hope this helps
|
now it stopped working on android as well 😂 |
@jindalankush28 Please share your code snippet. |
const SpecialityContentLoader = () => { useEffect(() => { |
@jindalankush28 Try increasing the timeout from 10 to at least 200. Also I don't see your ShimmerView component in the code. I hope you are setting loading={visible} as property for your ShimmerView |
I am currently working with
"react-native": "0.61.3" and "react-native-shimmer": "^0.6.0".
I have a Shimmer with a nested flatlist inside. For android it works like a charm but for iOS it is not working. Sometimes you can see only a flicker once when it renders, then just no animation, change or opacity, nothing.
The text was updated successfully, but these errors were encountered: