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

Still resizes after releasing mouse outside window #340

Open
Fabioni opened this issue Apr 18, 2024 · 1 comment
Open

Still resizes after releasing mouse outside window #340

Fabioni opened this issue Apr 18, 2024 · 1 comment

Comments

@Fabioni
Copy link

Fabioni commented Apr 18, 2024

Check out the sandbox: https://codesandbox.io/p/sandbox/react-resizable-panels-forked-r6zcm6

If you drag the resizer up until the first panel gets collapsed, and you release the mouse outside the iframe of codesandbox (or just outside your browser window) your code does not recognize the mouse release and still changes the panel size after the mouse hovers back over the iframe.

@Fabioni Fabioni changed the title Resizes after mouse releasing mouse Resizes after releasing mouse Apr 18, 2024
@Fabioni Fabioni changed the title Resizes after releasing mouse Still resizes after releasing mouse outside window Apr 18, 2024
@bvaughn
Copy link
Owner

bvaughn commented Apr 18, 2024

If you'd like to post a PR for this, I'll try to make the time to review it. Else I probably won't have the time to pick it up.

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

2 participants