-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team memberIssues awaiting triage by a Blockly team member
Description
Check for duplicates
- I have searched for similar issues before opening a new one.
Description
For field editors where MakeCode uses both the widget div and the dropdown div in combination, this ephemeral focus error is raised. Unlike the Blockly samples field slider plugin, in MakeCode, focus is moved to the HTML input, not the dropdown, so the ephemeral focus handling needs to be on the widget, not the dropdown div.
Please can you add an extra parameter for manageEphemeralFocus to showPositionedByField and showPositionedByBlock, which can then be passed to showPositionedByRect. At the moment, manageEphemeralFocus defaults to true and no callers pass this arg in core.
Reproduction steps
Stack trace
Screenshots
Example of the type of block affected, note the focus on the HTML input on opening:

Browsers
No response
Metadata
Metadata
Assignees
Labels
issue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrongissue: triageIssues awaiting triage by a Blockly team memberIssues awaiting triage by a Blockly team member