https://kotlinlang.org logo
#compose
Title
# compose
z

zsperske

05/13/2022, 8:42 PM
I’m slowly converting an XML layout to Compose and one of the first components I’ve created is a list of items that are out of view when the page first loads. How do I scroll to them? If I run something like
testRule.onNodeWithText("Account details").performScroll().performClick()
I get the following error message
Semantic Node has no parent layout with a Scroll SemanticsAction
c

Chris Fillmore

05/13/2022, 11:08 PM
I'm a bit confused. Are you asking how to test this, or how to implement this?
z

zsperske

05/13/2022, 11:10 PM
im asking how to test it, i have implemented it but i don't know how to scroll to a subview contained in a ‘ComposeView’
15 Views