You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using Resizable.Handle, I can't use PaneForge props and abilities like "disabled" and "onDraggingChange" as they are not passed to PaneForge's primitive component.
Reproduction
Example with the PaneForge "disabled" prop
Expected Behaviour: handle should be disabled but its not
<script>
import * as Resizable from '$lib/components/ui/resizable';
</script>
<Resizable.PaneGroup direction="vertical">
<Resizable.Pane></Resizable.Pane>
<Resizable.Handle withHandle disabled={true} />
<Resizable.Pane></Resizable.Pane>
</Resizable.PaneGroup>
Adding {...$$restProps} fixes the problem for me:
Modified ResizbleHandle source code
Describe the bug
When using Resizable.Handle, I can't use PaneForge props and abilities like "disabled" and "onDraggingChange" as they are not passed to PaneForge's primitive component.
Reproduction
Example with the PaneForge "disabled" prop
Expected Behaviour: handle should be disabled but its not
Adding {...$$restProps} fixes the problem for me:
Modified ResizbleHandle source code
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: