-
-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onDragging event on PanelResizeHandle does not fire correctly #388
Comments
Found this sandbox: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-di6vn0?file=%2Fsrc%2FResizeHandle.tsx In an earlier version, it's working as expected. |
I ended up forking the project, to see if I can resolve. By doing so, I found out I didn't need onDragging but also an onDragStart and onDragEnd. I added the following props to PanelResizeHandleProps:
But I also fixed the onDrag issue as well. Now fires correctly and not on mouseover/out.
|
Forgot to say. Thank you for creating this library. Out of all the libraries out there. I've tested all of them... This one is the best one, bar none! |
The
You're welcome! |
Bugfix published in version 2.1.1 ❤️ → ☕ givebrian.coffee |
Similar to: #94
Sandbox: [...]
Dragging the handles does not fire the onDragging event. However, if you mouseover the handle, it will.
Could be a regression?
The text was updated successfully, but these errors were encountered: