Why is the location changing?

The button is changing its data position after execution.

So the position of the link remains the same, but it looks like the node has moved.

When you open it again, it unfolds back to its original position.

Is there any solution…?

What does the button do?

Are you using go-debug.js and checking the console window for any warning or error messages?

Do you have a TwoWay Binding on the Link.points property?