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

fix: restore sandbox hint on mouse leave #288

Merged
merged 1 commit into from
Oct 30, 2020
Merged

Conversation

smeijer
Copy link
Member

@smeijer smeijer commented Oct 30, 2020

What:
Restore the accessible roles hint when the pointer leaves the sandbox frame.

Why:
Because this was clearly a bug.

How:
We now keep track of the fact if the pointer is inside or outside of the frame. As the selectNode can be triggered after onMouseLeave. To guard against this race condition, onMouseEnter and onMouseLeave maintain a pointerInside boolean, which is checked by selectNode.

Checklist:

  • Tests
  • Ready to be merged

@smeijer smeijer self-assigned this Oct 30, 2020
@smeijer smeijer merged commit fa24a7d into develop Oct 30, 2020
@smeijer smeijer deleted the feature/fix-hover branch October 30, 2020 12:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant