Skip to content

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.

1 participant