use-pan-and-zoom
use-pan-and-zoom copied to clipboard
[BUG] onZoom parameter breaks an app
Hello) Noticed one strange thing if I am trying to parameter 'onZoom' something like onZoom: () => console.log('test') the app is crashing even in an example that u gave. I even try to use debounce, but that doesn't help. @wouterraateland pls, help needed
Doesn't crash for me. Please provide a minimal example that reproduces the behavior (codesandbox or similar).