Page Autoscrolls On Variant Selection

WoodyDev
Shopify Partner
578 115 191

Hi All,

 

I have been racking my brain for a while now trying to figure out the cause of this issue.

 

This is the page in question: https://www.aimshop.com/products/remote-button-interface-keypad-laser-etched-inserts.

 

Whenever someone selects an insert, the image changes to match, which is great. But the page also scrolls down slightly. Now usually, this wouldn't be an issue, but due to the page scrolling down slightly, if a customer changes their variant choice, the image won't update to match their selection.

 

However, if they scroll back to the top of the page after making an initial selection, and then choosing a new variant, the image will update again, and the page will again scroll down.

 

Any help to stop this from happening would be greatly appreciated.

 

This issue only seems to happen on this product page and no others.

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder
Replies 5 (5)

WoodyDev
Shopify Partner
578 115 191

Comment to bump for solution

Woody, 29, Stafford, UK | If I helped you out, mark it as the solution and drop me a thumbs up! | This is just a hobby for me, not my full-time job, so tips are greatly appreciated! paypal.me/woodybruh | Developer for AimShop.com | Owner of WoodyDevelopments | Try the best Shopify page builder

Yaro_Salov
Tourist
3 0 0

Have the same issue.

vikjanp
Tourist
7 0 1

I'm having the same issue. When I have variants linked to the each photo the page slightly scrolls down every time I select them. Here's a gif: 

gatdesigns
Tourist
10 0 0

Hello were you able to solve this issue?

Callum_C
Tourist
4 1 2

Apologies for resurrecting a zombie, so to speak, but was wondering if / how you managed to solve this issue. I visited the link you posted and appears to be resolved.

 

I'm having the same issue with my site so any help would be greatly appreciated.

 

Thank you for your time,

Callum