Search Issue Tracker

Fixed in 1.0.0-preview.15

Votes

0

Found in [Package]

1.0.0-preview.13

Issue ID

1298017

Regression

No

[UIToolkit] Buttons located closest to the side don't get focused when going through the focusable button list with arrow keys

Package: UI Toolkit

-

How to reproduce:
1. Open the attached '1298017.zip' project
2. Open the 'Focus Tests' Scene (Scenes > Focus Tests)
3. Enter the Play mode
4. Select Button1 in the Game view
5. Press the left arrow key on the keyboard

Expected result: Button3 gets focused
Actual result: Button2 gets focused

Reproducible with: UI Tookit 1.0.0-preview.6 (2020.1.17f1), 1.0.0-preview.13 (2020.1.17f1, 2020.2.0f1)
Cannot test with: 2018.4.30f1, 2019.4.16f1 (the UI Toolkit package is not supported), UI Toolkit 1.0.0-preview.12 (2020.2.0f1, 2021.1.0a9), 1.0.0-preview.13 (2021.1.0a9)
(due to errors)

Notes:
- The issue does not reproduce when the Game view resolution is set to a fixed value (in this case the value has to be larger than 728x727) or the Game view window is undocked and maximized

  1. Resolution Note (fix version 1.0.0-preview.15):

    Fixed in 2021.2.0a8

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.