Closed p-dmitriy closed 10 months ago
Hi, the M3 up to date animation for the unchecked state is supposed to be a quick fade out (see specs), differently from the bottom 2 checkboxes of your example. It's very quick so it can be hard to see, but I just checked that it's working as expected on the M3 catalog.
You can change the animations speed of your device/emulator via the developer options/"Animator duration scale" to make sure that it's working. If you find there's still an issue then please reopen with a sample app where the bug is reproducible. Thanks!
Description: I faced a bug with checkbox animation (first checbox on gif). Animation for states
indeterminate -> unchecked
andchecked -> unchecked
is visually skipped. Seems the problem is inmtrl_checkbox_button_checked_unchecked.xml
. Animation preview in Android Studio also show me immediate disappearing of the rectangle inside the box.Expected behavior: Animated disappearing of rectangle as for 2 and 3 cheboxes on gif.
Source code:
Minimal sample app repro: In material catalog app I also didn't see uncheck animation.
Android API version: Tested on 30 and 33.
Material Library version: 1.8.0
Device: Xiaomi 13/Xiaomi Mi 9 Lite![ezgif com-video-to-gif](https://github.com/material-components/material-components-android/assets/82445071/4ceff3a4-3b6a-4e42-a6ce-ba2b0667cd09)