fbpx
Want To Add Extra Images Per Product Variation? Download This Free Plugin

Thumbnails Shift After Loading

Hi! I’m very happy with the plugin, but I’ve noticed a somewhat annoying issue. Every time, shortly after finished loading, the entire row of thumbnails shifts by one spot. This can even be observed in the live demo on the website. And this shift happens also after manual selection of variation later on. It doesn’t hapen on page load if default variation is not selected. Is there a way to disable this effect? I find it a bit distracting. Thanks!

Hakik Zaman

Hi Maciej,

Thanks for reaching out to us.

Could you record me reproducing your issue using a tool like this? https://www.useloom.com
It helps me to quickly figure out the issue.

Hope to hear from you soon.

Thank you

Hi Hakik

Sorry, I’m not able to provide recording right now. But all you need to do to see this issue is to go to official plugin demo and just see how thumbnails slider loads. Every time on reload, just after images seems to finish the loading, all thumbnails shifts by one image to the right. I checked on different devices/browsers and it behaves the same.

Kind regards

Maciej

Hakik Zaman

Hi Maciej,

We use a third-party JS library to render the gallery.

It has a center mode and after finishing the call it pushes the images to the gallery.

Then it reinitiates the gallery and starts the image from the center.

This is how the library works. We are working on our in-house library.

Then we will have more control over that.

For now, you may try this snippet using a plugin called Code Snippets.

You can also add the snippet inside your current child theme’s functions.php file.

Note: It is recommended to add the Custom Code to the child theme’s functions.php file, to avoid any data loss while updating the Parent Theme.

It will keep the image at the left and perhaps resolve your issue.

Hope to hear from you soon.

Thank You