Bug description
up.animate with option { duration: 0 } does not animate instantly, but instead uses the configured default from up.motion.config.duration.
Reproduction project
https://glitch.com/edit/#!/handy-little-pantry
Steps to reproduce the behavior:
- Go to reproduction project linked above.
- Click button "duration 0".
- See button takes 1s to fade out and 1s to fade back in. (1s is configured as default duration)
Expected behavior
duration: 0 should animate instantly, and not use the default animation duration.
Browser version
- OS: Linux
- Browser: Chrome
- Version: 121
(probably independent from browser)