Status Update
Comments
as...@google.com <as...@google.com> #2
Over to Ralston to take a look. I imagine with the new relocation logic it should be fixed?
as...@google.com <as...@google.com> #3
What is happening here is that the TextField does not know that it is in a scrollable container, and since the keyboard is going to hide the currently focused text, the text field calls View.requestRectangleOnScreen which causes the entire app to pan up, and that clips the top bar.
The Relocation APIs are experimental right now. It is not used in TextField as we are past the alpha stage and can only use stable APIs in TextField. So this bug can only be fixed post 1.0
si...@gmail.com <si...@gmail.com> #4
This should be fixed by
I verified that this sample code now works when soft input mode is AdjustResize.
as...@google.com <as...@google.com> #5
Yeah, this is a known issue with test dispatcher, the problem is that it runs on UnconfinedTestDispatcher
by default (see the issue linked above).
The workaround is to pass either main dispatcher or StandardTestDispatcher
as effect context to createComposeRule
.
Description
Jetpack Compose version: 1.7.6
Jetpack Compose components used: runtime, ui-test-android
Kotlin version: 2.0.21
Stack trace: