Title: Lazy list scrolls not captured on Compose foundation 1.10+ · Issue #6547 · getsentry/sentry-java · GitHub
Open Graph Title: Lazy list scrolls not captured on Compose foundation 1.10+ · Issue #6547 · getsentry/sentry-java
X Title: Lazy list scrolls not captured on Compose foundation 1.10+ · Issue #6547 · getsentry/sentry-java
Description: On apps that use Jetpack Compose foundation 1.10.0 or later, sentry-compose records no scroll breadcrumbs for LazyColumn, LazyRow, LazyVerticalGrid, staggered grids, or Pager, even when they are tagged. With debug enabled, the SDK logs U...
Open Graph Description: On apps that use Jetpack Compose foundation 1.10.0 or later, sentry-compose records no scroll breadcrumbs for LazyColumn, LazyRow, LazyVerticalGrid, staggered grids, or Pager, even when they are ta...
X Description: On apps that use Jetpack Compose foundation 1.10.0 or later, sentry-compose records no scroll breadcrumbs for LazyColumn, LazyRow, LazyVerticalGrid, staggered grids, or Pager, even when they are ta...
Opengraph URL: https://github.com/getsentry/sentry-java/issues/6547
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Lazy list scrolls not captured on Compose foundation 1.10+","articleBody":"On apps that use Jetpack Compose foundation 1.10.0 or later, `sentry-compose` records no scroll breadcrumbs for `LazyColumn`, `LazyRow`, `LazyVerticalGrid`, staggered grids, or `Pager`, even when they are tagged. With `debug` enabled, the SDK logs `Unable to find scroll target. No breadcrumb captured.` A customer on foundation 1.12.0 (Compose BOM `2026.08.00`) with sentry-android 8.61.0 reported it, and the code is unchanged on `main` / 8.63.0.\n\n## Root cause\n\n[`ComposeGestureTargetLocator`](https://github.com/getsentry/sentry-java/blob/main/sentry-compose/src/androidMain/kotlin/io/sentry/compose/gestures/ComposeGestureTargetLocator.kt) treats a node as scrollable only when it finds one of these:\n\n```kotlin\n\"androidx.compose.foundation.ScrollingLayoutElement\" == type ||\n \"androidx.compose.foundation.ScrollingContainerElement\" == type\n```\n\nor a `ScrollBy` key on an old-style `SemanticsModifier`.\n\nWhat the `foundation-android` AARs on Google Maven contain:\n\n- 1.8.3 – 1.9.5: `ScrollingContainerElement` is present.\n- 1.10.0, 1.11.x, 1.12.0, 1.12.1: `ScrollingContainerElement` is gone, replaced by `androidx.compose.foundation.ScrollableAreaElement`.\n- In 1.12.0, `LazyListKt`, `LazyGridKt`, `LazyStaggeredGridKt` and `LazyLayoutPagerKt` all apply `ScrollableAreaElement`. None of them apply `ScrollingLayoutElement`.\n- Lazy-layout semantics comes from `LazyLayoutSemanticsModifier`, a `ModifierNodeElement`, not a `SemanticsModifier`. So the `ScrollBy` fallback misses it too.\n- `Modifier.verticalScroll` / `horizontalScroll` still apply `ScrollingLayoutElement`, so non-lazy scrolling containers still work.\n\n`sentry-compose/proguard-rules.pro` also keeps names only for `ScrollingLayoutElement` and `ScrollingContainerElement`. In minified apps R8 can rename any other modifier class, which breaks the class-name check.\n\nThe SDK compiles against `androidxCompose = \"1.9.5\"`. `ComposeGestureTargetLocatorTest` uses stub classes in place of real Compose classes, so neither the build nor the tests caught the rename.\n\n## Scope\n\n- Affected: scroll breadcrumbs (and the user-interaction transactions that depend on them) for every lazy layout and pager on foundation ≥ 1.10.\n- Not affected: click detection; `verticalScroll` / `horizontalScroll` containers.\n\n## Reproduction\n\n1. Build an app with Compose foundation ≥ 1.10.0, `sentry-compose`, user-interaction breadcrumbs, and `debug = true`.\n2. Add a `LazyColumn` with `Modifier.sentryTag(\"list\")` (or `testTag`).\n3. Scroll the list.\n4. The logcat shows `Unable to find scroll target. No breadcrumb captured.`, and no `ui.scroll` breadcrumb is recorded.\n\n\u003c!-- junior-request-attribution:start -->\nvia **gene.wright**.\n\u003c!-- junior-request-attribution:end -->\n\n\u003c!-- junior-session-footer:start -->\n\u003c!-- junior-conversation-id:slack%3AD0B92UEM19Q%3A1794357169.026319 -->\n\n--\n\n[View Session](https://junior-prod.sentry.dev/conversations/slack%3AD0B92UEM19Q%3A1794357169.026319) [[Sentry]](https://sentry.sentry.io/explore/conversations/slack%3AD0B92UEM19Q%3A1794357169.026319/?project=4510944073809921)\n\n\u003c!-- junior-session-footer:end -->","author":{"url":"https://github.com/apps/sentry-junior","@type":"Person","name":"sentry-junior"},"datePublished":"2026-11-11T00:43:30Z","url":"https://github.com/getsentry/sentry-java/issues/6547"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:286ca956-7cd3-2bc8-4e53-833502c93990 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE0E:31EC7:75D7D0:A51ABC:6B044E73 |
| html-safe-nonce | 027aa0b2152d98913e361037d6c3f3f539f491771364235fbb9d0d831a5929d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTBFOjMxRUM3Ojc1RDdEMDpBNTFBQkM6NkIwNDRFNzMiLCJ2aXNpdG9yX2lkIjoiMTU4MDgxMjQ1NTEwNDQ5OTMxNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3af8d2b5dd8626b6e9d39025c2674f8353f173e96c82847af0af98a43d9cee41 |
| hovercard-subject-tag | issue:6318977223 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/6547/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1efcbd7475f3490f081a9b23bea65396220676ca4d3b7f09bade54c61eb34150/getsentry/sentry-java/issues/6547 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1efcbd7475f3490f081a9b23bea65396220676ca4d3b7f09bade54c61eb34150/getsentry/sentry-java/issues/6547 |
| og:image:alt | On apps that use Jetpack Compose foundation 1.10.0 or later, sentry-compose records no scroll breadcrumbs for LazyColumn, LazyRow, LazyVerticalGrid, staggered grids, or Pager, even when they are ta... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sentry-junior[bot] |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3368190 |
| octolytics-dimension-repository_nwo | getsentry/sentry-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3368190 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width