Skip to content

Commit 1b4b898

Browse files
committed
Fix scroll detection
1 parent fbd5fec commit 1b4b898

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

sentry-compose/src/androidMain/kotlin/io/sentry/compose/gestures/ComposeGestureTargetLocator.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,10 @@ public class ComposeGestureTargetLocator(private val logger: ILogger) : GestureT
8787
"androidx.compose.foundation.CombinedClickableElement" == type
8888
) {
8989
isClickable = true
90-
} else if ("androidx.compose.foundation.ScrollingLayoutElement" == type) {
90+
} else if (
91+
"androidx.compose.foundation.ScrollingLayoutElement" == type ||
92+
"androidx.compose.foundation.ScrollingContainerElement" == type
93+
) {
9194
isScrollable = true
9295
}
9396
}

0 commit comments

Comments
 (0)