-
Notifications
You must be signed in to change notification settings - Fork 5
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
Keyboard navigation not functional after reloading blocks #146
Comments
Debugging notes:
|
workspaceSvg in core has
Which means that it's actually calling
|
I think this will probably either resolve itself or at least get fixed as part of the work we're planning to do in core to have Blockly understand and use focus (vs. selection), but for the moment we need to do something to work around this issue. Probably the most general fix for this (in the short term) is to add a check |
If you modify the test app like this to handle the scenario selector client side, then you hit a problem.
This corresponds to a real scenario in MakeCode. When MakeCode switches from JavaScript to Blocks mode it reloads (via XML) blocks into Blockly. They may or may not have changed at this point due to edits in JavaScript mode. From that point on the keyboard navigation is broken.
You can recover navigation by navigating to the toolbox with "T" and adding a new block.
Is this something the plugin can be modified to cope with?
The text was updated successfully, but these errors were encountered: