8000 fix: Fix bug that caused flyout items under the mouse to be selected without movement. by gonfunko · Pull Request #8900 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Fix bug that caused flyout items under the mouse to be selected without movement. #8900

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

Merged
merged 1 commit into from
Apr 17, 2025

Conversation

gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes google/blockly-keyboard-experimentation#216

Proposed Changes

This PR updates the flyouts to select items on pointermove rather than pointerenter. This resolves an issue where, when using keyboard navigation, flyout items that happened to appear under the mouse when the flyout was opened via the keyboard would appear selected. This resulted in a confusing behavior where there could be two selections: the cursor, and the block incidentally under the mouse. Now, blocks will not be selected/highlighted unless the mouse is actually moved.

@gonfunko gonfunko requested a review from a team as a code owner April 17, 2025 17:41
@gonfunko gonfunko requested a review from BenHenning April 17, 2025 17:41
@gonfunko gonfunko added the PR: fix Fixes a bug label Apr 17, 2025
Copy link
Contributor
@BenHenning BenHenning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @gonfunko! No concerns here.

@gonfunko gonfunko merged commit 5b103e1 into google:rc/v12.0.0 Apr 17, 2025
8 of 11 checks passed
@gonfunko gonfunko deleted the flyout-select branch April 17, 2025 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: fix Fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0