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

Lists in Python -

android - can not access to progress bar in an other activity -

html - Not able to access next element of an array javascript -