More tweaks to animation (#5082)
This commit is contained in:
parent
05ac76fc89
commit
4abcd65ccf
4 changed files with 28 additions and 31 deletions
|
|
@ -151,12 +151,12 @@ export function CountWheel({
|
|||
{formattedCount}
|
||||
</Text>
|
||||
</Animated.View>
|
||||
{shouldAnimate ? (
|
||||
{shouldAnimate && (likeCount > 1 || !isLiked) ? (
|
||||
<Animated.View
|
||||
entering={exitingAnimation}
|
||||
// Add 2 to the key so there are never duplicates
|
||||
key={key + 2}
|
||||
style={[a.absolute, {width: 50}]}
|
||||
style={[a.absolute, {width: 50, opacity: 0}]}
|
||||
aria-disabled={true}>
|
||||
<Text
|
||||
style={[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue