Skip to content

Commit 4a72a98

Browse files
fix(player): pause the hidden loader sheen (#3673)
1 parent 01744f2 commit 4a72a98

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎packages/player/src/styles.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,10 @@ export const PLAYER_STYLES = /* css */ `
124124
animation: hfp-shader-loader-sheen 1.9s linear infinite;
125125
}
126126
127+
.hfp-shader-loader:not(.hfp-visible):not(.hfp-hiding) .hfp-shader-loader-title-text {
128+
animation-play-state: paused;
129+
}
130+
127131
.hfp-shader-loader-detail {
128132
width: 100%;
129133
height: 26px;

0 commit comments

Comments
 (0)