Open AlirezaAzizi145 opened 5 years ago
I have the same problem. I did a quick experiment on the example project in the repo, and I found that zIndex
cannot be an animation property.
i need to move this card behind the active card like left side
This is what I have, because of the zIndex cannot be animated
@bd-arc any solution?
@AlirezaAzizi145 I've written extensively about it in the dedicated doc.
I encourage you to read everything related to the caveats since some of the workaround suggestions might fit your use case.
@bd-arc yes. i played with elevation instead z-index but still i have a problem
@bd-arc no solution? no sample?
@tonylibra Can You Find Any Solution? I Really Need This Carousel Style
@AlirezaAzizi145 You will probably need to rely on a custom PanResponder
for that instead of on this plugin since the zIndex
property can't be animated — RN limitation.
@tonylibra if you find any solution i will be grateful to send me the soulution
This is shown like this in the example gif. Is there a prop to do this? Thanks!
@sebastijandumancic I don't recall any gif displaying one card on top of the ones before as well as the ones after.
Can you please share the link of the image you're referring to?
@bd-arc Sorry, I was thinking about standard horizontal scroll which shows a bit of previous and next slide. I've achieved it using item width prop.
If anybody find any solution please share it with me. I also have to make something similar
I have the same problem. I did a quick experiment on the example project in the repo, and I found that
zIndex
cannot be an animation property.
Do you have any experienced code or demo?
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
Hello guys. how can i create Something Like this in react-native-snap-carousel?
i think if we can show both of next and previous cards in "Stack of Cards" layout we can create it but i dont know how