Explorar o código

set isLoaded to true on both transitionend and animationend

David Renshaw %!s(int64=8) %!d(string=hai) anos
pai
achega
6090ede8c9
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      client/components/cards/cardDetails.js

+ 3 - 0
client/components/cards/cardDetails.js

@@ -65,6 +65,9 @@ BlazeComponent.extendComponent({
       [`${CSSEvents.transitionend} .js-card-details`]() {
         this.isLoaded.set(true);
       },
+      [`${CSSEvents.animationend} .js-card-details`]() {
+        this.isLoaded.set(true);
+      },
     };
 
     return [{