Daniel Weidensdörfer
08/01/2021, 3:32 PMScaffold
and I show a snackbar by calling scaffoldState.snackbarHostState.showSnackbar(...)
. The snackbar is shown above the fab. What can I do to make the snackbar move the fab up when it is shown and down when it disappears?Ian Lake
08/01/2021, 3:37 PMIan Lake
08/01/2021, 3:40 PMDaniel Weidensdörfer
08/01/2021, 3:50 PMChuck Stein
08/01/2021, 4:00 PMDaniel Weidensdörfer
08/01/2021, 4:10 PMAlbert Chang
08/01/2021, 4:51 PMIan Lake
08/01/2021, 5:06 PMDaniel Weidensdörfer
08/01/2021, 5:24 PMAndrew Hughes
04/19/2022, 10:25 PMNote: If theI'm not sure if this is true or not as I have not used the M3 version of MDC-Android. I definitely agree with the updated behavior to not move buttons like the FAB, but I also don't love how it looks to have the snackbar appear above the FAB. 😕is a child of aFloatingActionButton
, you get certain behaviors for free. It will automatically shift so that any displayed `Snackbar`s do not cover it, and will automatically hide when covered by anCoordinatorLayout
orAppBarLayout
.BottomSheetBehavior
Ian Lake
04/19/2022, 10:28 PMCoordinatorLayout
for years at this point (and there's no Material3 version of CoordinatorLayout
). I'd tap the 'Feedback' button on the bottom to report any inaccuracies directly to the right people