aurelhubert/ahbottomnavigation

Snackbar behaves incorrectly when a FAB is present

Open

#61 opened on Apr 27, 2016

View on GitHub
 (10 comments) (0 reactions) (1 assignee)Java (3,851 stars) (695 forks)batch import
bughelp wanted

Description

When using both a Snackbar (set to Snackbar.LENGTH_INDEFINITE in my testing) and a FloatingActionButton together, the swipe to dismiss behaviour on the Snackbar tries to snap back to the start of the screen throughout the swipe causing a graphical glitch. The Snackbar dismisses without this graphical glitch if a FAB is not present in the Coordinator Layout.

The FAB also seems not to react to the Snackbar swipe to dismiss events as it stays where it is after the dismiss, instead of dropping down to just above the Bottom Navigation.

Contributor guide