react-zoom-pan-pinch icon indicating copy to clipboard operation
react-zoom-pan-pinch copied to clipboard

Cannot disable zoom animation

Open asnoeyink opened this issue 4 months ago • 0 comments

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:

  1. Add zoomAnimation = {disabled: true} to TransitionWrapper
  2. 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

asnoeyink avatar Sep 26 '24 12:09 asnoeyink