### .NET version The latest main branch & release/11.0-preview5 of Winforms repo ### Did it work in .NET Framework? Not tested/verified ### Did it work in any of the earlier releases of .NET Core or .NET 5+? The issue does not reproduce on release/11.0-preview4 & release/10.0 & release/8.0 & release/9.0 branch of winforms repro ### Issue description **Actual Results:** The SmartTag dialog doesn't disappear when switch the Tabpage items https://github.com/user-attachments/assets/feda07d8-f1ca-49a5-93c7-4cb17eb73323 **Expected Results:** The SmartTag dialog disappeared when switch the Tabpage items https://github.com/user-attachments/assets/fbc9517a-08fb-4808-a745-a7b690eed02c ### Steps to reproduce Test sample: [DemoConsole](https://github.com/dotnet/winforms/tree/main/src/System.Windows.Forms/tests/IntegrationTests/DesignSurface/DemoConsole) in Winforms repo 1. Build & run the DemoConsole app 2. Open the SmartTag dialog for any controls, such as TreeView 3. Click the Edit Nodes... items to open the TreeNode Editor dialog 4. Closed the TreeNode Editor dialog 5. Switch the TabPages to observe the SmartTag dialog for the TreeView
.NET version
The latest main branch & release/11.0-preview5 of Winforms repo
Did it work in .NET Framework?
Not tested/verified
Did it work in any of the earlier releases of .NET Core or .NET 5+?
The issue does not reproduce on release/11.0-preview4 & release/10.0 & release/8.0 & release/9.0 branch of winforms repro
Issue description
Actual Results:
The SmartTag dialog doesn't disappear when switch the Tabpage items
Actual11.mp4
Expected Results:
The SmartTag dialog disappeared when switch the Tabpage items
Expected10.mp4
Steps to reproduce
Test sample: DemoConsole in Winforms repo