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

Portal closes when dragging from inside portal and releasing outside of portal #223

Open
jacobsowles opened this issue May 13, 2019 · 0 comments

Comments

@jacobsowles
Copy link

When I click inside a portal (in this case, PortalWithState), then drag outside the portal and release, the portal closes (assuming I have closeOnOutsideClick turned on). I'd expect the portal to stay open unless I actually mouse down outside the portal.

In my use case, users are highlighting text inside an input field (which is inside the portal), and the portal is closing prematurely because they release outside of the portal boundaries.

demo

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