Skip to content

Commit

Permalink
🐛 Correct sequentialAnimationMode digit reduction bug
Browse files Browse the repository at this point in the history
  • Loading branch information
almond-bongbong committed May 17, 2024
1 parent 9d4aa40 commit ee13eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Slot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function Slot({
if (sequentialAnimationMode) {
topValue = reverse ? localValue : startValue ?? prevValueRef.current ?? localValue;

if (sequentialAnimationMode && isNew) {
if (sequentialAnimationMode && isNew && !reverse) {
topValue = '';
}
}
Expand Down

0 comments on commit ee13eb8

Please sign in to comment.