-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Open
Description
Bug
Hello, thanks for the great plugin.
I just noticed an issue by using the last version 3.0.1
When I play an animation, it works, then I click to reverse, the movement is played but without any transition/duration. The translation is done but we don't see it.
With version 3.0.0 it works fine.
Hope this helps 😃
My code
const AboutLAction = anime({
targets: $about_left,
translateX: ['-100%', '0'],
autoplay: false,
easing: 'easeInOutQuart',
duration: 1200
});
AboutLAction.reverse();
const handleClick = () => {
AboutLAction.play();
AboutLAction.reverse();
};
$buttonhome.addEventListener('click', () => {
handleClick();
});
$buttonabout.addEventListener('click', () => {
handleClick();
});
mytecor and babielfe
Metadata
Metadata
Assignees
Labels
No labels