hasScrollToNodeAction
Function
Common
fun hasScrollToNodeAction() =
hasKey(SemanticsActions.ScrollToIndex)
.and(hasKey(SemanticsActions.ScrollBy))
.and(
hasKey(SemanticsProperties.HorizontalScrollAxisRange)
.or(hasKey(SemanticsProperties.VerticalScrollAxisRange))
)
Returns whether the node defines the ability to scroll to content identified by a matcher.