4
0
forked from crowetic/commerce
Lukas Schüth 2c8d46ce90
Fix navigation between cart and menu on mobile (#709)
* Fix navigation between cart and menu on mobile

On mobile when the Sidebar menu is open and you want to switch to cart, it would toggle the sidebar and close it instead of switching view.

* Adds missing openSidebar to useUI hook

* Sets correct Sidebar view when adding a product

If the last selected view on mobile was the menu, it was shown instead of the cart when adding a product.

Co-authored-by: Bel <curciobelen@gmail.com>
2022-06-13 15:11:01 -04:00
..
2022-02-01 14:14:05 -05:00
2022-03-16 12:05:58 +01:00
2022-03-16 12:05:58 +01:00
2022-03-16 12:05:58 +01:00