I am trying to move from one bottom sheet dialog fragment to another bottom sheet dialog fragment. While doing so, on my second bottom sheet dialog fragment I could see the first bottom sheet with (less focus).
Is there a way to completely hide the first bottom sheet dialog upon an event such as onClick.
Fragments are implemented using Android Navigation component