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
Post a Comment