SOLVED: Mini cart: the cart behaves differently when triggered by a custom toggle button

Hi @Mike8040 ,

This is just to update you the progress and the reason.

These are the correct configurations to use Interactions in Bricks to toggle the Woo Mini cart

However, this is not working in current version as Bricks has a “Click anywhere” to close Woo Mini cart by default. When the mini cart is active, a JavaScript event takes over document click events and automatically closes the mini cart if the clicked element is unrelated to it. Consequently, even if the Interaction adds the “active” class, it is promptly removed, as if it were never applied in the first place.

To address this issue, we will introduce a new setting within the Mini Cart element. This setting will allow you to disable this behavior, enabling your Interaction to function as intended.

Regards,
Jenn

1 Like