Are modal screens (dialogs or bottom sheet from accompanist) expected to not stay in the back stack after navigating away from them?
I've had issues opened on my library about this and I'm not sure if this is expected. At the moment they are not kept unless we navigate to another modal screen. So is this intended or should I open an issue?
03/28/2022, 12:58 PM
I dont know :p i have never needed a persistent bottom sheet, but i would say, as the name implies, should appear on back if previously opened. I am only using modal bottom sheet, and they go away if you navigate to another screen. Also, i am not persisting them (which is debatable). So for instance on process death it wont appear. Which is fine in my cases. Confirmation dialogs the same for me. I dont know if there are guidelines for this
03/28/2022, 1:01 PM
Found an answer for non compose navigation
From @Ian Lake . I'm guessing this is expected here for the same reasons