Skip to content

docs: improve nested scroll explanation in LazyColumn#882

Merged
dkhawk merged 2 commits intomainfrom
docs/nested-scroll-explanation
Apr 2, 2026
Merged

docs: improve nested scroll explanation in LazyColumn#882
dkhawk merged 2 commits intomainfrom
docs/nested-scroll-explanation

Conversation

@kikoso
Copy link
Copy Markdown
Collaborator

@kikoso kikoso commented Mar 30, 2026

This PR updates the MapsInLazyColumnActivity sample to make the solution for nested scrolling more explicit.

Changes:

  • Added a header to each MapCard that says 'Panning this map disables list scroll'.
  • This visually reinforces the userScrollEnabled = !anyMapMoving logic already present in the sample, making it a better reference for developers investigating nested scroll issues.

Relates to: #14

Add a visual header to each map card in MapsInLazyColumnActivity to
explicitly demonstrate how the map interaction disables the list's
scrolling. This provides a clear, in-app reference for developers
facing issues with nested scrolling in LazyColumn.

Fixes #14
@googlemaps-bot
Copy link
Copy Markdown
Contributor

Code Coverage

There is no coverage information present for the Files changed

@dkhawk dkhawk merged commit ced4126 into main Apr 2, 2026
8 checks passed
@dkhawk dkhawk deleted the docs/nested-scroll-explanation branch April 2, 2026 19:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants