use-pan-and-zoom icon indicating copy to clipboard operation
use-pan-and-zoom copied to clipboard

[BUG] onZoom parameter breaks an app

Open YevhenTarashchyk opened this issue 2 years ago • 1 comments

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

YevhenTarashchyk avatar Apr 14 '23 16:04 YevhenTarashchyk

Doesn't crash for me. Please provide a minimal example that reproduces the behavior (codesandbox or similar).

wouterraateland avatar Apr 17 '23 08:04 wouterraateland