You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had the same/similar issue and solved by assigning an explicit key to the component rendered in the renderItem iterator.
Basically the problem is that React does not see the item changed and just re-renders the data and not the actual component - that's why it looks like you jumping ahead because technically the item was never removed.
Hi,
We have a carousel in our app, we need to give the user the ability to remove the current slide once he read it.
Problem being, when we slice the item from the array, the carousel jumps two slides ahead and not to the next slide...
Thanks,
Théo
The text was updated successfully, but these errors were encountered: