Material-components-android: [ExtendedFloatingActionButton] Touch ripple animation is systematically aborted on touch up

Created on 2 Jun 2020  路  4Comments  路  Source: material-components/material-components-android

Description: Contrary to regular MaterialButton and FloatingActionButton, ExtendedFloatingActionButton has an issue where when the finger leaves the screen after having touched it, the ripple animation is aborted, giving a rough look and feel, which also feels inconsistent with how the ripple nicely starts, and how it works in other components.

Expected behavior: The ripple animation should not be aborted, but should signal touch up just like FloatingActionButton, MaterialButton and other components do.

Source code: This can be tested with the material builder already existing in this repository.

Android API version: Tested on API 29 (Android 10)

Material Library version: 1.2.0-beta01

Device: Tested on a Google Pixel 2 XL

bug

Most helpful comment

@LouisCAD will do!

All 4 comments

Experiencing the same issue:

vg6QfhdcXY

I closed in this in 61e927e you should be able to workaround it before a new release, by setting app:rippleColor to a copy of the CSL in that commit

Could you cherry pick it to 1.2.0?

@LouisCAD will do!

Was this page helpful?
0 / 5 - 0 ratings