Skip to content
This repository has been archived by the owner on Jul 14, 2022. It is now read-only.

Add add animation after adding to cart #173

Merged
merged 2 commits into from
Dec 17, 2018

Conversation

piotrgrundas
Copy link
Contributor

Fixes #138

&-enter {
opacity: 0;

@at-root #{&}#{&}-active {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Results in .xxx__action--fade-enter.xxx__action--fade-enter-active

@piotrgrundas piotrgrundas force-pushed the 138/add_to_cart_indicator branch 2 times, most recently from 0d3efd5 to 4d04302 Compare December 15, 2018 08:57
Copy link
Member

@maarcingebala maarcingebala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we disable the button when the "Added" label is rendered? Now I'm able to click on the "added" label constantly, but I think a better experience would be to block the button and wait until it says "Add to cart" again before I can continue. Not sure, maybe should be discussed with @pwgryglak.

@pwgryglak
Copy link

@maarcingebala
Definetly agree.

@piotrgrundas piotrgrundas force-pushed the 138/add_to_cart_indicator branch 3 times, most recently from e7f4662 to eb7747b Compare December 17, 2018 12:32
@maarcingebala maarcingebala merged commit 7cbe7d7 into master Dec 17, 2018
@maarcingebala maarcingebala deleted the 138/add_to_cart_indicator branch December 17, 2018 13:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants