minicart icon indicating copy to clipboard operation
minicart copied to clipboard

Unable to Remove Item when "minicart-showing" class is not on body

Open hyperking opened this issue 9 years ago • 3 comments

@jeffharrell Im building minicartjs themes and would like to place the cart in a sidebar or checkout page.

The "remove item" button only works when an Item is added to cart which will add a "minicart-showing" class to the body allowing for the "remove item" function to be executed.

How can I allow the "remove item" function if the cart is always visible? and I also need to disable closing the cart based on click event outside the cart. On mobile, it seems to close inadvertently at times.

Here is a plunker example. http://plnkr.co/edit/DMmUOTapAWWMH5UWQSVL?p=preview

hyperking avatar Aug 13 '14 13:08 hyperking