question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[FloatingActionButton] FAB does not move smoothly when SnackBar appears

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:6
  • Comments:5

github_iconTop GitHub Comments

6reactions
codinginflowcommented, Nov 5, 2020

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

1reaction
apsuncommented, Apr 20, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

android - How to make snack bar and fab to move together
Use CoordinatorLayout that's enough, no need to change anything on Java code. ... For both click event SnackBar and Fab moves up smoothly...
Read more >
Floating Action Button anchoring not working properly ...
The Snackbar comes up and the FAB's padding is lost. After a few seconds (about 8?), the padding returns and the FAB moves...
Read more >
Floating Action Button and Snackbar - YouTube
This is a detailed video on Android Floating Action Button using the Snackbar functionalityDonate: https://www.paypal.me/delaroystudios.
Read more >
5.2: Material Design · GitBook - GitHub Pages
Make animations and other motions in your app meaningful, so they don't happen at ... The layout moves some other UI elements when...
Read more >
androidx.compose.material - Android Developers
The dialog does not set up any events for this button so they need to be set up by the ... The component...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found