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

onMouseUp doesn't fire to save selection if mouse is moved out of vega element #479

Open
NateLanza opened this issue Feb 12, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@NateLanza
Copy link
Contributor

When selecting in the element view, if one drags the mouse outside the VegaLite element, the onMouseUp action that saves the selection doesn't fire. This is likely easily solved with an onMouseOut listener firing the same function.

@NateLanza NateLanza added the bug Something isn't working label Feb 12, 2025
@NateLanza NateLanza self-assigned this Feb 12, 2025
@NateLanza
Copy link
Contributor Author

Backlogged as I'm not currently sure how to fix this- we could track whether the mouse is in the element IF vega bubbled onMouseLeave or onMouseEnter but it doesn't appear to... not high-priority, so can be looked into later.

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

1 participant