Material-components-android: [FloatingActionButton] FAB does not move smoothly when SnackBar appears

Created on 19 Feb 2020  路  3Comments  路  Source: material-components/material-components-android

Description: FloatingActionButton twitches when SnackBar appears.
untitled

Expected behavior: Expected smoothly moving FAB.
2

Source code:
FloatingActionButton fab = findViewById(R.id.fab); fab.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { Snackbar.make(view, "Replace with your own action", Snackbar.LENGTH_LONG) .setAction("Action", null).show(); } });

Android API version: Android API 23 and 24

Material Library version: 1.1.0

Device: Nexus 5X and Samsung J7

bug

Most helpful comment

I still have this issue with Materiel library version 1.3.0-alpha03

All 3 comments

Same issue.
KT Navigation Drawer Project Template.
Current Kotlin plugin Version 1.3.70-release-Studio3.5-1.

Can reproduce on the latest 1.2.0-alpha06. Trying out older versions of the library suggests this bug was introduced in 1.1.0-alpha10. The bug is not present in 1.1.0-alpha09.

I still have this issue with Materiel library version 1.3.0-alpha03

Was this page helpful?
0 / 5 - 0 ratings