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

Bug: $mouse is not updated if not present in any non-action expressions #1034

Open
LeaVerou opened this issue Aug 13, 2024 · 0 comments
Open
Labels
bug Effort: low Easy to address issues, ideal for first time contributors!

Comments

@LeaVerou
Copy link
Member

If an mv-action is the only $mouse containing expression, $mouse is not updated, since we add that event listener when we find $mouse in expressions, and we don't look at actions until they are triggered.

It's probably trivial to scan for [mv-action*="$mouse"] and add the listener if that's found.

@LeaVerou LeaVerou added bug Effort: low Easy to address issues, ideal for first time contributors! labels Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Effort: low Easy to address issues, ideal for first time contributors!
Projects
None yet
Development

No branches or pull requests

1 participant