Skip to content

flickering issue when colour swatch is changed #687

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

Closed
Himkumar2 opened this issue Jul 28, 2022 · 3 comments
Closed

flickering issue when colour swatch is changed #687

Himkumar2 opened this issue Jul 28, 2022 · 3 comments

Comments

@Himkumar2
Copy link

Himkumar2 commented Jul 28, 2022

Describe the bug
when changing image with item image is flickering in mobile
Image Gallery Version
What version of react-image-gallery are you using? 1.2.7

To Reproduce
Steps to reproduce the behavior:
open this in mobile and try to change image by carousel and then change item colour by swatch .

Expected behavior
0th index image should load with out flickering.

Screenshots
If applicable, add screenshots to help explain your problem.

Smartphone (please complete the following information):

  • Device: [ iPhoneXR]
  • Browser [ safari]

Additional context

@xiaolin
Copy link
Owner

xiaolin commented Jul 28, 2022

Thanks for reporting, this looks like an issue with transition when rendering a new array of items that needs to start at index 0.

@Himkumar2
Copy link
Author

Hi @xiaolin yes it need to start from start at index 0 and it does like that but smoothness is not there in transition flickering of last set of image is happening.

@xiaolin
Copy link
Owner

xiaolin commented Jul 30, 2022

This should be fixed in v1.2.9
https://github.com/xiaolin/react-image-gallery/releases/tag/v1.2.9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants