-
Notifications
You must be signed in to change notification settings - Fork 42
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
Question: show shimmer while scrolling fast #7
Comments
Hi @ydv0121 , this isn't possibile because the blank space is a space from the last item to the end of the scrollview (not visibile) and if we sobstitute it with items the performance drops but there is a possible workaround to make an illusion of a shimmer. This workaround is to add a Image as repeated background. So in the end users should choice the image to repeat (like an image with a single stripe) or a component similar (like a react-native-svg that do the same thing) Here and example with a repeated image: test.mp4If this is a good solution for you I can implement it. |
@marcocesarato yes it's great instead of white spaces in big list. |
Added on Using Let me know if you run into any issues and how this feature can be improved. |
I saw some bugs on android, so it need some improvements. |
yes there is also UI glitch. so it's not good idea to show shimmer in white space? |
Probably the best solution is to use and SVG pattern or find a similar solution, but at the moment it's better don't implement an SVG pattern as default (because need a to add a new dependency) until found a new solution. |
You could give the option and recommend the svg library to whoever is using and want shimmer. Maybe even restrict and make it required so no glitchs appear. |
i am trying to integrate this module with biglist https://github.com/tomzaku/react-native-shimmer-placeholder |
is it possible to show shimmer in whitespace when scrolling fast in big list?
The text was updated successfully, but these errors were encountered: