Skip to content

Commit

Permalink
style(image-viewer): keep animation staying end (#2025)
Browse files Browse the repository at this point in the history
  • Loading branch information
huangchen1031 authored Jan 16, 2025
1 parent c569a21 commit 01a5dbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions style/web/components/image-viewer/_index.less
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@
animation: @anim-duration-base @anim-time-fn-ease-in modal-mask-show;

&.@{prefix}-is-hide {
animation: @anim-duration-base @anim-time-fn-ease-out modal-mask-hide;
animation: @anim-duration-base @anim-time-fn-ease-out modal-mask-hide forwards;

.@{prefix}-image-viewer__modal-pic .@{prefix}-image-viewer__modal-box {
animation: @anim-duration-base @anim-time-fn-ease-out modal-image-hide;
animation: @anim-duration-base @anim-time-fn-ease-out modal-image-hide forwards;
}
}

Expand Down

0 comments on commit 01a5dbe

Please sign in to comment.