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

Component starts already scrolled #102

Open
Hyslach653 opened this issue Jul 13, 2022 · 0 comments
Open

Component starts already scrolled #102

Hyslach653 opened this issue Jul 13, 2022 · 0 comments

Comments

@Hyslach653
Copy link

I'm building an eCommerce site with React and for the product page I'm using this package for the images.

Each product has different colours, so when you change the colour the page stays the same but the information changes.

Imagine you start by seeing a product with 3 images and scroll to the end and then you click on a colour with only one image. This will be what you see:
Screenshot 2022-07-13 at 11 54 57

It's like it's looking for a picture which is not there plus you have no scrolling ability.

Is there any way to like 'reinitialise' it?

Thanks

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

No branches or pull requests

1 participant