How to keep new location when group moved?

I create a collapse group,but i have a problem.
Step 1: Move group.

Step 2: Expanded group.The group and its nodes can not keep the new location.

i want to the group and its node keep the new location after move the group.

Please see Edit fiddle - JSFiddle - Code Playground

What’s happening is that the Diagram.layout, which is a LayeredDigraphLayout, is being invalidated because the size of one if its nodes changed due to its expanding or collapsing.

Try setting either Layout.isOngoing to false on your Layout or Part.layoutConditions on your Group. Read about this topic at GoJS Layouts -- Northwoods Software.