-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
component: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong
Milestone
Description
Problem statement
If you connect a collapsed block between blocks such that some blocks get added into the collapsed group, then undo it child blocks get positioned incorrectly.
Expected Behavior
Undo should position blocks correctly.
Actual Behavior
Steps to Reproduce
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_ternary" id="4H=DIk|U}:}a(%z9!(t:" x="112" y="113">
<value name="IF">
<block type="logic_negate" id="oxQ5,hS7Y,`7pnX=(xEf">
<value name="BOOL">
<block type="logic_negate" id="$}7#Y8YE*umkz%LV/bC{"></block>
</value>
</block>
</value>
</block>
<block type="logic_negate" id="1kC@XKq]HI9~HDwucD0D" collapsed="true" x="65" y="268">
<value name="BOOL">
<block type="logic_negate" id="L2);`8=$z0u%7/{PDmka"></block>
</value>
</block>
</xml>
- Load the above xml into the playground
- Drag the collapsed block to the first test connection (consuming the two 'not' blocks)
- Undo
Note the last not block will get rendered somewhere random.
Stack Traces
Replace with error stack trace.
Operating System and Browser
Desktop Chrome
Additional Information
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: renderingissue: bugDescribes why the code or behaviour is wrongDescribes why the code or behaviour is wrong