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

A ui element can recieve mousedown/up calls multiple times from the same single mousedown/up event. #108

Closed
Lemonymous opened this issue Aug 1, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@Lemonymous
Copy link
Contributor

On mousedown/up event, the hovered element will have mousedown/up called directly.

If that element does not consume the event by returning true in mousedown/up, the event will be passed through ui elements under the cursor; and can eventually end up calling mousedown/up on the hovered element yet again.

This double calling can cause a mess of things. See #100

@kartoFlane kartoFlane added the bug Something isn't working label Aug 2, 2021
@kartoFlane
Copy link
Member

Fixed in #117

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants