onDragging to much calls
damaafer opened this issue · comments
damaafer commented
Does I misuse PanelResizeHandle's onDragging prop ?
Excepted behavior:
onDragging is only call when it's PanelResizeHandle is effectively dragged.
Actual behavior:
Any click anywhere on the page triggers onDragging callback of every PanelResizeHandle.
Repro: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-t6cmkx
(open the console and click anywhere on the page).
Brian Vaughn commented
This is a bug. Will try to release a fix shortly.
Brian Vaughn commented
damaafer commented
Works great. Thank you for the quick fix 👍