Skip to content

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes RaspberryPiFoundation/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
Collaborator

@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 RaspberryPiFoundation: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