Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73d1ca3e authored by Wenbo Jie's avatar Wenbo Jie
Browse files

[DocsUI a11y] Expand the collapsing layout when it's focused

When CollapsingToolbarLayout is collapsed, focusing its children
which are scrolled above the screen won't make it expand, which
makes the focused element not visible, causing an a11y issue.

This CL will expand the layout when:
* any child views inside CollapsingToolbarLayout is focused, and
* the layout is in collapsed state.

Check the attached bug for video demo.

Bug: 431953449
Test: atest DocumentsUIGoogleTests:com.android.documentsui.NavigationViewManagerTest
Flag: com.android.documentsui.flags.use_material3
Change-Id: Id21b7fd12a69b13e90bfacf843dcea4f8592d6d2
parent 4ef7bae9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment