Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Attachment actions
Description
Jetpack Compose version: 2024.09.03
Material Library Version (M2, M3 or Both?): M3
Material Compose component used:
Scaffold
withTopAppBar
andLazyColumn
as its contentAndroid Studio Build: Android Studio Ladybug | 2024.2.1 Build #AI-242.21829.142.2421.12409432
Kotlin version: 2.0.21
We are encountering an issue where the scroll behavior is being triggered by a scrollable element that does not have a
nestedScroll
, but is a child of a composable that does havenestedScroll
. For instance, consider a scrollableTextField
within aLazyColumn
. While scrolling theLazyColumn
, theTopAppBarState.contentOffset
should update, and the top bar state should change as expected. However, when scrolling within theTextField
it shouldn't.Below is the MRE and a video demonstrating the issue: