There is an usability issue when user clicks on "Remove Item" in minicart. Steps to reproduce:
User adds 2 or more different items in cart. For example:
For the last item in the list, user clicks "Remove item" from the actions list
The request is being sent in background, this takes some time.
While that is happening in the background, user can still interact with that minicart item, so user clicks on the "Remove item" several more times for the same item.
Now all products are removed from the cart, even though user kept clicking "Remove item" for the last item in the list.
Expected result:
User shouldn't be able to interact with cart items (or the particular items which is being removed) while the request is processing.
Possible solutions:
Overlay a spinner on top of the minicart items to visually indicate that the request is being processed and disallow users to interact with the minicart items. @soumya-ashok , feel free to suggest an alternative solution.
This issue is for the following packages:
venia-concept
pwa-buildpack
peregrine
pwa-devdocs
upward-js
upward-spec
This issue is a:
Environment
node -v
)npm -v
)Description
There is an usability issue when user clicks on "Remove Item" in minicart. Steps to reproduce:
Expected result:
User shouldn't be able to interact with cart items (or the particular items which is being removed) while the request is processing.
Possible solutions:
Overlay a spinner on top of the minicart items to visually indicate that the request is being processed and disallow users to interact with the minicart items. @soumya-ashok , feel free to suggest an alternative solution.