Skip to content
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

Thumbnail fading animation broken when controlling the index #212

Closed
joshkay opened this issue Nov 30, 2023 · 2 comments
Closed

Thumbnail fading animation broken when controlling the index #212

joshkay opened this issue Nov 30, 2023 · 2 comments
Labels
bug Something isn't working released Implemented and released

Comments

@joshkay
Copy link

joshkay commented Nov 30, 2023

Describe the bug

When passing a controlled index prop and updating it with the on prop view callback, the thumbnails flicker in and out when scrolling.

Expected behavior

Same fade should occur as uncontrolled variant.

How to reproduce

https://codesandbox.io/p/devbox/yet-another-react-lightbox-examples-forked-wm6fvt?initialpath=%2Fexamples%2Fbasic&file=%2Fsrc%2Fexamples%2FThumbnailsPlugin.tsx%3A49%2C24

Screenshots / Logs

No response

Additional context

No response

@joshkay joshkay added the bug Something isn't working label Nov 30, 2023
@igordanchenko
Copy link
Owner

Thank you for the detailed bug report.

Copy link

🎉 This issue has been resolved in version 3.15.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions bot added the released Implemented and released label Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released Implemented and released
Projects
None yet
Development

No branches or pull requests

2 participants