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 releasing alt sometimes not hiding locked hovers #151185

Merged
merged 1 commit into from Jun 3, 2022
Merged

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Jun 3, 2022

  • CompositeMouseTracker.isMouseIn's initial state is now true, this means
    releasing alt without moving the mouse will not hide the hover
  • The current hover options are now only cleared when the hover being
    disposed is the active hover, this was the main cause of the problem because
    if current hover options is undefined while there is an active hover weird
    things could happen

Fixes #150842

- CompositeMouseTracker.isMouseIn's initial state is now true, this means
releasing alt without moving the mouse will not hide the hover
- The current hover options are now only cleared when the hover being
disposed is the active hover, this was the main cause of the problem because
if current hover options is undefined while there is an active hover weird
things could happen

Fixes #150842
@Tyriar Tyriar added this to the May 2022 milestone Jun 3, 2022
@Tyriar Tyriar self-assigned this Jun 3, 2022
@Tyriar Tyriar enabled auto-merge June 3, 2022 01:04
@Tyriar Tyriar merged commit 05de94e into main Jun 3, 2022
@Tyriar Tyriar deleted the tyriar/150842 branch June 3, 2022 06:39
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hover stays when releasing Alt and mouse is outside hover & target
2 participants