Skip to content

Commit

Permalink
fix: spinner may stop playing animation after dismiss
Browse files Browse the repository at this point in the history
  • Loading branch information
mynetfan committed Jan 12, 2025
1 parent 8cf6e8e commit 05cca66
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function onTransitionEnd() {
@transitionend="onTransitionEnd"
>
<div
class="loader before:bg-primary/50 after:bg-primary relative size-12 before:absolute before:left-0 before:top-[60px] before:h-[5px] before:w-12 before:rounded-[50%] before:content-[''] after:absolute after:left-0 after:top-0 after:h-full after:w-full after:rounded after:content-['']"
:class="{ loader: renderSpinner }"
class="before:bg-primary/50 after:bg-primary relative size-12 before:absolute before:left-0 before:top-[60px] before:h-[5px] before:w-12 before:rounded-[50%] before:content-[''] after:absolute after:left-0 after:top-0 after:h-full after:w-full after:rounded after:content-['']"
></div>
</div>
</template>
Expand Down

0 comments on commit 05cca66

Please sign in to comment.