diff options
author | dan <dan.abramov@gmail.com> | 2024-11-23 21:36:35 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 21:36:35 +0000 |
commit | aa58216b6de09d471fa94d42bd668e61043fc4f2 (patch) | |
tree | 008fc68bab80c515b350a214a31a596eb14a3f7d /src/components/ProfileHoverCard | |
parent | fdc3f0f17ddedcdac736d2d21c65bc1ea1edbfdc (diff) | |
download | voidsky-aa58216b6de09d471fa94d42bd668e61043fc4f2.tar.zst |
Fix jumpy web animation for modal backdrop (#6673)
Diffstat (limited to 'src/components/ProfileHoverCard')
-rw-r--r-- | src/components/ProfileHoverCard/index.web.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/ProfileHoverCard/index.web.tsx b/src/components/ProfileHoverCard/index.web.tsx index 4cda42fdb..3e58ced90 100644 --- a/src/components/ProfileHoverCard/index.web.tsx +++ b/src/components/ProfileHoverCard/index.web.tsx @@ -302,8 +302,8 @@ export function ProfileHoverCardInner(props: ProfileHoverCardProps) { const animationStyle = { animation: currentState.stage === 'hiding' - ? `avatarHoverFadeOut ${HIDE_DURATION}ms both` - : `avatarHoverFadeIn ${SHOW_DURATION}ms both`, + ? `fadeOut ${HIDE_DURATION}ms both` + : `fadeIn ${SHOW_DURATION}ms both`, } return ( |