Open SergiOnGit opened 3 years ago
I don't think this library is maintained anymore. Please I would like if anyone can point me to a library that does the stack animation provided by this library. Thank you!
I am only experiencing this issue on Android.
I don't think this library is maintained anymore. Please I would like if anyone can point me to a library that does the stack animation provided by this library. Thank you!
What makes you think this? I see that the last update was February 11.
Yes, getting this same issue on android. The snapping is not working.
@jfbn, @SergiOnGit , did you figure out the issue, or still experiencing the same? Please let me know.
@jfbn, @SergiOnGit , did you figure out the issue, or still experiencing the same? Please let me know.
Still having the issue.
@Saad-Bashar It's not fixed yet. I switched to v4.0.0-beta.6 it works much better.
But the thing that plugin author isn't appearing makes me think that development is over.
@Saad-Bashar It's not fixed yet. I switched to v4.0.0-beta.6 it works much better.
By better do you mean that the snapping issue is fixed totally?
@Saad-Bashar Yes it is fixed. Just try.
I switched to v4.0.0 it works much better.
removeClippedSubviews={false}可以解决这个问题,通过这个swiper库https://github.com/leecade/react-native-swiper/issues/1232
同样的问题产生的灵感,Carousel有同样的属性,试验过可以解决
@ss2012 Checked and it hasn't changed anything.
Try to activate momentum by adding enableMomentum to the component. (worked for me).
@appli-intramuros enableMomentum makes a bad animation, it is something like a slow motion. I better stay at version 4.
Sorry, please allow me to advertise for my open source library! ~ I think this library react-native-reanimated-carousel will solve your problem. It is a high performance and very simple component, complete with React-Native reanimated 2
@zwh1666258377 I'll try your module. It looks good and you shouldn't stop working on it.
v4.0.0 has a small issue, which is a 300-400ms delay on the onSnapToItem
callback.
however, it beats the flicker on Android.
I used a stable version for iOS in my React Native app, and the beta for Android, in package.json like so:
...
"react-native-snap-carousel-beta": "npm:react-native-snap-carousel@^4.0.0-beta.6",
"react-native-snap-carousel-stable": "npm:react-native-snap-carousel@^3.9.1",
...
Then you'll have to require each version to include in jsx (warning: they're not type-safe).
const CarouselStable = require('react-native-snap-carousel-stable').default;
const CarouselBeta = require('react-native-snap-carousel-beta').default;
Hope this helps someone else achieve the proper UX!
Just test it on RN 0.64. enableSnap={true} not working good anymore. Test and you will understand.