Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
website: artey.com.au
Issue: Page scrolls down to the bottom when selecting a different variant on mobile (does not do it on desktop).
I did a preliminary research and I'm aware this is caused by code snippet scrollIntoView({ behavior: 'smooth' })
However, I have a couple of js and liquid files that have similar code snippets so I do not know which one I should change. Wary of commenting out without understanding the ripple effects. Can anyone help out?
Hi,
Hope following will help
- Use console logs to identify specific file handling variant changes.
- Modify scrollIntoView() behavior only for non-mobile devices.
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025