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)
Request for new functionality
View staffing
Description
Jetpack Compose version: Androidx Compose BOM 2024.09.02
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: NavigationBar
Android Studio Build: Android Studio Ladybug | 2024.2.1
Kotlin version: 2.0.20
Steps to Reproduce or Code Sample to Reproduce:
RowScope.NavigationBarItem uses the .selectable modifier in the NavigationBarItemLayout for handling click events, which does not support onLongClick behavior. Switching to .combinedClickable or otherwise exposing a longClick parameter would allow developers to handle long click events. Currently passing in a Modifier with .combinedClickable does not seem to have an effect as NavigationBarItem consumes the touch input.