Skip to content

Fix icon animations not playing on subsequent presses

William Komene requested to merge icon-animations-fix into main

Fixes add to cart animation and favourite animation not playing each time the button is pressed on product page. This is done by removing the animation from the list, triggering a reflow to update the list and adding the animation to the icon to play again. This also means the animation for add to cart restarts each press.

Closes #2 (closed)

Edited by William Komene

Merge request reports

Loading