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: 1.7.0
Jetpack Compose component(s) used: androidx.compose.foundation:foundation-layout
Android Studio Build: N/A
Kotlin version: N/A
Steps to Reproduce or Code Sample to Reproduce:
Actual behavior: Sometimes the "Show less" chip is partially rendered in the last row. Expected behavior: The "Show less" chip should be rendered on a new row if there's not enough space in the last row.
After digging into the code, this looks like the root cause.
IIUC:
0
asnumberOfItemsShown
.Two solutions I can think of: