Skip to content
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

Unsnap threshold #832

Open
jcuenod opened this issue Dec 10, 2024 · 0 comments
Open

Unsnap threshold #832

jcuenod opened this issue Dec 10, 2024 · 0 comments

Comments

@jcuenod
Copy link

jcuenod commented Dec 10, 2024

AFAIU, to "unsnap" a pane, the user needs to drag the pane out 50% of the minSize. It would be great if the threshold for unsnapping (and snapping) were lower. During a drag movement, the user can easily see that the pane has snapped and move back a bit. After the snap, it's hard for the user to know that the drag is working if the minSize is large because they have to drag a long way (they may abort the drag preemptively thinking it's not working).

Tbh, I think this would be great for snapping as well, but the unsnap threshold is key.

[Edit:] I switched to shoelace for now, and I'm exploring https://github.com/bvaughn/react-resizable-panels

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant