-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
component: generatorscomponent: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Milestone
Description
Problem statement
It can reproduce with the online demo at: https://developers.google.com/blockly/
While dragging a block from toolbox, the real time generation of code is incorrect.
Expected Behavior
N/A
Actual Behavior
Steps to Reproduce
- open 'https://developers.google.com/blockly/'
- use the "Try Blockly"
- switch "Language" to "Python" (also fail with other language in fact...).
- drag "if do" block in "logic"
- while dragging, the generated code is as below:
if False:
pass
if False:
pass
which is incorrect and confusing to user.
6. stop dragging and put the block in workspace, the generated code is as below:
if False:
pass
which is correct.
Stack Traces
N/A
Operating System and Browser
Mac OSX, Chrome
Additional Information
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: generatorscomponent: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
