Shopify Timber Framework Drawer .open() changes page position -


when drawer opens position on page returns top.

this frustrating if have large product collection , you've added product cart bottom of collection you're required scroll down.

is there workaround?

there's nothing on javascript triggering scroll top.

the reason it, triggers class .js-drawer-open on <body> has overflow: hidden, makes instantly scroll top , doesn't allow further scrolling.

if remove rule, not scroll top itself, allow free scrolling while drawer open.

hope helps!


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -