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)
Attachment actions
Unintended behavior
View staffing
Description
Jetpack Compose version: 1.5.4
Jetpack Compose component used: Compose material 1.5.4
Android Studio Build: Android Studio Giraffe | 2022.3.1 Patch 4
Kotlin version: 1.9.10
Steps to Reproduce or Code Sample to Reproduce:
Code:
The switch will be in a wonky UI state, most times somewhere in between checked and unchecked. Happens in our app because when the checked state changes, some validation is being done, which in turn can reset the checked state again quite fast. Instant reset looks ok. Seems like this happens when the reset happens between 10 to 100ms after the change.
There's a small sample project attached.