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.8
Material Library Version (M2, M3 or Both?): M3
Material Compose component used: Switch
Android Studio Build: Koala
Kotlin version: 1.8
Steps to Reproduce or Code Sample to Reproduce:
Material Switch does not use the LocalIndication ripple but creates its own
private fun SwitchImpl( modifier: Modifier, checked: Boolean, enabled: Boolean, colors: SwitchColors, thumbContent: (@Composable () -> Unit)?, interactionSource: InteractionSource, thumbShape: Shape, ) { val trackColor = colors.trackColor(enabled, checked) val resolvedThumbColor = colors.thumbColor(enabled, checked) val trackShape = SwitchTokens.TrackShape.value
}