Skip to content

docs: improve nested scroll explanation in LazyColumn#882

Open
kikoso wants to merge 1 commit intomainfrom
docs/nested-scroll-explanation
Open

docs: improve nested scroll explanation in LazyColumn#882
kikoso wants to merge 1 commit 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

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