In my Redux action, I make an API call and trigger a toast using a custom service when the call is successful. The toast ends up covering a FAB that I have displayed.
I am currently looking for a way to detect when the snackbar (toast) opens and closes so that I can adjust the position of the FAB accordingly - moving it up when the toast appears and down when it disappears. Ideally, I would like to handle this in the component where the FAB is located.
The Gmail app demonstrates this exact behavior: Gmail