Environment
Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.6.2
.NET version
.NET 7
Did this work in a previous version of Visual Studio and/or previous .NET release?
I was using .NET framework and Visual Studio 2017. There was no such problem.
Issue description
After clicking undo in designer for undoing a resize of a control, that "resize" is undone correctly. However, another anchored control is not undone correctly.
See the example below. Anchored textbox is not undone correctly.

Steps to reproduce
Create a Form.
Create a group-box. Add a textbox inside the groupbox. Anchor the textbox to groupbox.
Anchor the groupbox to form.
Then resize the form. Then click "undo". Notice that, textbox is not undone correctly.
Diagnostics
No response
Environment
Microsoft Visual Studio Professional 2022 (64-bit) - Version 17.6.2
.NET version
.NET 7
Did this work in a previous version of Visual Studio and/or previous .NET release?
I was using .NET framework and Visual Studio 2017. There was no such problem.
Issue description
After clicking undo in designer for undoing a resize of a control, that "resize" is undone correctly. However, another anchored control is not undone correctly.

See the example below. Anchored textbox is not undone correctly.
Steps to reproduce
Create a Form.
Create a group-box. Add a textbox inside the groupbox. Anchor the textbox to groupbox.
Anchor the groupbox to form.
Then resize the form. Then click "undo". Notice that, textbox is not undone correctly.
Diagnostics
No response