8000 fix: Fix bug that caused the focus manager to attempt to focus unfocusable elements. by gonfunko · Pull Request #9117 · 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 the focus manager to attempt to focus unfocusable elements. #9117

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
May 30, 2025

Conversation

gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes google/blockly-keyboard-experimentation#554

Proposed Changes

This PR updates the layer manager to check if elements are focusable before focusing them after adding/removing them from the drag layer. This resolves logspam.

@gonfunko gonfunko requested a review from a team as a code owner May 30, 2025 19:54
@gonfunko gonfunko requested a review from cpcallen May 30, 2025 19:54
@github-actions github-actions bot added the PR: fix Fixes a bug label May 30, 2025
Copy link
Collaborator
@rachel-fenichel rachel-fenichel left a comment

Choose a reason for hiding this comment

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

Makes sense to me and I'm okay with it, but I'm tagging @BenHenning to take a look when he's back in case it points at a different change he wants to make as a follow-up.

@gonfunko gonfunko merged commit cb08247 into google:develop May 30, 2025
11 checks passed
@gonfunko gonfunko deleted the unfocusable branch May 30, 2025 20:10
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.

Move mode causes "Trying to focus a node that can't be focused"
3 participants
0