Function

hasScrollToKeyAction

Returns whether the node defines the ability to scroll to an item identified by a key, such as LazyColumn or LazyRow.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

hasScrollToKeyAction

Common
fun hasScrollToKeyAction() =
    hasKey(SemanticsActions.ScrollToIndex).and(hasKey(SemanticsProperties.IndexForKey))

Returns whether the node defines the ability to scroll to an item identified by a key, such as LazyColumn or LazyRow.