react-zoom-pan-pinch
react-zoom-pan-pinch copied to clipboard
Cannot disable zoom animation
Describe the bug
I am not able to disable animations using the zoomAnimation.disabled
prop to TransitionWrapper
. Instead, I have to pass 0
as the animation time argument to the zoomIn
handler.
To Reproduce Steps to reproduce the behavior:
- Add
zoomAnimation = {disabled: true}
toTransitionWrapper
- Use the "zoom in" control.
Expected behavior Zooms in without any zoom animation. I would expect to be able to turn off all animations with one prop.
Desktop (please complete the following information):
- OS: Fedora Linux
- Browser: Firefox