-
-
Notifications
You must be signed in to change notification settings - Fork 216
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
When use the control panel to change the selected item from timeline #434
Comments
Hi! I tried the 2.4.0 version, but unfortunately the above mentioned bug was only partially fixed. When I use the timeline or the next navigation buttons (first, previous, next, last), the index handling works fine. However, if I use "Play Slideshow", it still returns the wrong index for onItemSelected: 1 less than it should. Another thing I noticed about the index handling is that if I change the contents of the "items", the timeline jumps back to the first item (this is fine). If I then use the navigation buttons to move the timeline, however, it does not move to the next item (idnex 1), but instead to the current item in the previous items collection. For example:
|
When I use the buttons on the control panel the index of the selected item is always zero. Also, when using the slide show, the indexes are shifted by one.
To reproduce: https://codesandbox.io/s/show-all-cards-forked-kx8885
The text was updated successfully, but these errors were encountered: