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

Mousedown in other components are been constantly captured #55

Open
Nenrei opened this issue May 2, 2023 · 1 comment
Open

Mousedown in other components are been constantly captured #55

Nenrei opened this issue May 2, 2023 · 1 comment

Comments

@Nenrei
Copy link

Nenrei commented May 2, 2023

I don't know if this is an issue or something I configured wrong on the modal component.
I have a color picker inside a draggable modal.
The problem happend when I tried to pick a color and I release the mouse button.
It seems that the modal is not allowing the mouseup to execute correctly, because the mouse is still caught in the picker.

I think the problem is with the modal because the picker works if I use it outside

Could it be a stopPropagation or something like that?

This is an example, I release the mouse button but it is still captured
bad picker

And this is the same picker but outside of the modal
good picker

@Nenrei
Copy link
Author

Nenrei commented May 2, 2023

Could it be related with this issue?
#54

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