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
Description
Jetpack Compose version: 2023.01.00 Jetpack Compose component used: Scaffold Android Studio Build: 2022.1.1 Patch 1 Kotlin version: 1.8.0
The Scaffold component, when working with the collapsing toolbar, causes unnecessary recompositions of the list inside. This is caused by the fact that the Scaffold inside itself measures the height of the toolbar each time and passes it in the form of innerpading. What causes the recomposition of all visible list items when the toolbar collapses.
A simple example: