8000 fix: Reenable support for tabbing between fields. by gonfunko · Pull Request #9049 · google/blockly · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix: Reenable support for tabbing between fields. #9049

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 2 commits into from
May 14, 2025

Conversation

gonfunko
Copy link
Contributor
@gonfunko gonfunko commented May 14, 2025

The basics

The details

Resolves

Fixes #8821

Proposed Changes

This PR re-adds support for tabbing between editable fields to correct a regression. This is a bit complicated because, in Zelos, navigation is to blocks rather than fields for simple reporters, but it appears to work correctly in both Zelos and non-Zelos renderers.

@gonfunko gonfunko requested a review from a team as a code owner May 14, 2025 18:05
@gonfunko gonfunko requested a review from rachel-fenichel May 14, 2025 18:05
@github-actions github-actions bot added PR: fix Fixes a bug and removed PR: fix Fixes a bug labels May 14, 2025
@rachel-fenichel
Copy link
Collaborator

Can get tests added as part of #8915

@gonfunko gonfunko merged commit 7a7fad4 into google:rc/v12.0.0 May 14, 2025
7 checks passed
@gonfunko gonfunko deleted the field-tab branch May 14, 2025 18:23
Comment on lines +604 to +606
WidgetDiv.hideIfOwner(this);
dropDownDiv.hideWithoutAnimation();
target.showEditor();
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this correctly focus the new field, too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, ultimately it calls showInlineEditor() (on non-mobile) which calls focus() on the input.

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.

3 participants
0