Unity Issue Tracker - The callbacks for "AttachToPanelEvent" and "DetachFromPanelEvent" are unregistered when the "OnDetachFromPanel" is called
Fixed
UUM-21001
The callbacks for "AttachToPanelEvent" and "DetachFromPanelEvent" are unregistered when the "OnDetachFromPanel" is called
Unity: UI Toolkit Controls
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Won't Fix
2022.1.X
2022.1.X ports are superseded by 2022.2.X ports (cancelled)
How to reproduce:
1. Open the attached user project
2. Open Scene “SampleScene” (Assets/Scenes)
3. Enter PlayMode
4. Press the “Show GenericDropDown”
5. Press the appeared “item“ dropdown
6. Repeat steps 4 and 5
Expected result: A message is displayed in the Console and the dropdown closes
Actual result: No message is displayed in the Console and the dropdown won't close
Reproducible with: 2021.3.14f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a19
Can’t test with: 2020.3.42f1 (Errors in the Console)
Reproduced on: macOS (12.5 Intel)
Note: Issue is reproducible in Builds
Prioritise and Follow this issue
Have a workaround or additional info about this issue?