Unity Issue Tracker - Event modifiers are not detected when UI Toolkit's context menu is used
Closed
UUM-13594
Event modifiers are not detected when UI Toolkit's context menu is used
Unity: Contextual Menu
macOS
Won't Fix
2023.3.X
2023.2.X
2023.1.X
2023.1 is no longer a supported version of Unity. Please see the corresponding 2023.2 port instead (if applicable).
How to reproduce:
1. Open the attached "UpdatedProject" project
2. Select "Window" -> "General" -> "Test Runner" in the main menu bar
3. Click "Run All" in the Test Runner window
4. Shift-click the "open my menu" label
5. Right-click on the "open my menu" label
6. Close the context menu by clicking somewhere else in the window
7. Shift-click the "open my menu" label
8. Observe the Console
Expected result: Both logs print out "Shift"
Actual result: Second log prints out "None"