NO BUG: "Open on add to cart" not working when Header is sticky on scroll

Hello Estefan and Bricks Team,
Hope you are well,

When we active “Open on add to cart (AJAX)” in mini cart in header, then “Open on add to cart” not working when Header is “Sticky on Scroll” and header is not visible during add to cart. Only when we turn back to the top of the page, then the mini cart’s off-convas appears.

It has to be opened after add to cart in all situations, regardless of the menu is sticky on scroll, normal or sticky .

You can check this here (the link is expired after a month)

Kind Regards

Hi Hosi,
All is well with us, I hope with you too.

You hide the container that contains the mini cart with display: none. Accordingly, the off-canvas element is no longer displayed :wink:

You should come up with another solution for display: none, such as visibility: hidden.

image

Best regards,
timmse

1 Like

Hi Stefan
I’m sorry, I didn’t know about this. Thank you so much.