Я пытаюсь сделать простой переход x
и opacity
с помощью Popmotion Pose для React, но я не знаю, как убрать по умолчанию эффект «эластичный» (bounce?).
enter: {
opacity: 1,
x: 0,
delay: 200,
transition: {
default: { type: 'tween', ease: 'easeOut', duration: 200 }
}
},
exit: {
opacity: 0,
x: xExit,
transition: {
x: ({ from, to }) => ({
type: 'keyframes',
values: [from, -xExit, to],
times: [0, 0.99, 1]
}),
opacity: ({ from, to }) => ({
type: 'keyframes',
values: [from, 0, to],
times: [0, 0.99, 1]
}),
default: { duration: 200 }
}
}
Ребята, вы знаете, как его удалить?