You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collapsed function call blocks cannot be dragged because of crashes. This is reproduced if the corresponding function definition block has at least one input. It works as expected if a function has no inputs, though.
To Reproduce
Steps to reproduce the behavior:
Drag out a function definition block.
Add an input to the block.
Drag out the corresponding function call block.
Collapse the function call block via Right Click -> "collapse block".
Drag the function call block.
Expected behavior
Dragging should work without crashes.
Stack Traces
Uncaught TypeError: Cannot read property 'fieldRow' of undefined
at Blockly.InsertionMarkerManager.createMarkerBlock_ (blockly_compressed.js:146)
at new Blockly.InsertionMarkerManager (blockly_compressed.js:141)
at new Blockly.BlockDragger (blockly_compressed.js:161)
at Blockly.TouchGesture.Blockly.Gesture.startDraggingBlock_ (blockly_compressed.js:303)
at Blockly.TouchGesture.Blockly.Gesture.updateIsDraggingBlock_ (blockly_compressed.js:300)
at Blockly.TouchGesture.Blockly.Gesture.updateIsDragging_ (blockly_compressed.js:302)
at Blockly.TouchGesture.Blockly.Gesture.updateFromEvent_ (blockly_compressed.js:297)
at Blockly.TouchGesture.Blockly.Gesture.handleMove (blockly_compressed.js:308)
at Blockly.TouchGesture.handleMove (blockly_compressed.js:590)
at HTMLDocument.h (blockly_compressed.js:782)
Additional context
This issue looks similar to #2363. I tried a workaround suggested here: #2363 (comment) and it seems to work fine.
The text was updated successfully, but these errors were encountered:
Describe the bug
Collapsed function call blocks cannot be dragged because of crashes. This is reproduced if the corresponding function definition block has at least one input. It works as expected if a function has no inputs, though.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dragging should work without crashes.
Stack Traces
Additional context
This issue looks similar to #2363. I tried a workaround suggested here: #2363 (comment) and it seems to work fine.
The text was updated successfully, but these errors were encountered: