Assigned
Status Update
Comments
ma...@tv2.no <ma...@tv2.no> #2
After plenty of debugging, we have noticed that the issue can be solved by setting `touchScreenBlockFocus` flag to false. So now the question is why is this needed to make keyboard focus work correctly on Toolbar?
Description
Version used: 1.5.1
Devices/Android versions reproduced on: emulator - Pixel 4, API 31
Description:
We have a problem with focusing menu items on Toolbar by using keyboard. Pressing DPAD_UP while focus is on an item below toolbar is not moving focus to toolbar menu/icons. Settings „nextFocusUp” pointing to a toolbar view ID is not solving the issue.
Reproduction steps:
This issue can be reproduced on an example project in Android Studio:
1. Create a new project: File -> New -> New Project -> Phone and Tablet -> Scrolling Activity
2. Change AppCompat version to the newest one (1.5.1)
3. Compile and run the project.
4. Try to use keyboard to move focus to overflow menu icon
Result: focus cannot be moved to the overflow menu icon