Steps to reproduce:
1. Create a VisualElement that removes itself from its parent when it gets AttachToPanelEvent.
2. Add it to a panel.
Actual results:
No error is reported
Expected results:
An error is reported
Reproducible with versions:
Not reproducible with versions:
Can’t test with versions:
Tested on (OS):
Notes: