Skip to content

Component starts already scrolled #102

Description

@Hyslach653

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions