Search Issue Tracker
Won't Fix
Votes
0
Found in
2022.3.58f1
6000.0.43f1
6000.1.0b6
6000.2.0a3
6000.3.0a1
6000.4.0a1
6000.5.0a1
Issue ID
UUM-97604
Regression
No
Automatically unfocuses when focusing and DropdownField is open
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Click drop-down so the menu is open
5. Click “Space“ key
6. Observe the Console
Expected result: Focus out Message does not exist
Actual result: Message “Focus Out: Button SomeButton (x:4.00, y:2.00, width:1292.67, height:40.00) world rect: (x:4.00, y:2.00, width:1292.67, height:40.00) to: “ is present
Reproducible with: 2022.3.58f1, 6000.0.38f1, 6000.1.0b6, 6000.2.0a3
Reproducible on:
Play Mode
Windows Standalone Player
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Note:
- The issue is most likely caused by GenericDropdownMenu.Hide and its giveFocusBack implementation
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Dropdown fields have a delayed focus call causing the issue the user is experiencing. Changing that behavior is a risk for other regressions, so we don't plan on changing it. The workaround is to schedule the Focus call as well: button.schedule.Execute(() => button.Focus());