New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get out of a verification dialog #4025
Comments
It was a design decision to use BottomSheet for this purpose (I was against it), and to make BottomSheet non dismissable (which is also bad practice). That said, clicking on "Back" should propose the user to cancel the process. |
About "Are you sure?": |
Bottom sheets don't have "close" button unless they're in their expanded state (full screen) but I don't think this bottom sheet expands? Other ways to close the bottom sheet should be:
It doesn't look like a Bottom sheet is the correct material.io component here so I'm tagging @amshakal and labelling Needs-Design for 2 UX decisions:
EDIT |
Removing the Needs-Product label. I think we should implement the bottom sheet action where selecting not-the-bottom-sheet closes the bottom sheet. Design to make final decision here. |
Hello, I agree with Daneille. The reason is that we are using the bottom sheet pattern for all things verification already. |
Thanks, @amshakal I will remove the Needs Design label and update the description of the issue |
As a general remark, there are too many bottom sheets in this app and I did not success in the past to change the designer mind. Having text input area in bottom sheet is also quite weird :/. According to material.io bottom sheets can be used to: The verification flow should be a full screen flow IMO. In this case it is possible to display a dialog when the user when to exit before it's finished, like we are doing for instance during account creation. |
(oh I am repeating myself, sorry about that) |
That's great feedback @bmarty |
OK, thanks. So as far as I understand, we want this bottom sheet to be dismissable, and when dismissed, it should cancel the verification process (if there is something to do). |
- Add annotation @callsuper to ensure calling super method. - Remove unused fragment class VerificationCancelFragment. Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
- Add annotation @callsuper to ensure calling super method. - Remove unused fragment class VerificationCancelFragment. Signed-off-by: Ahmed Radhouane Belkilani <arbelkilani@gmail.com>
This issue is: Ready to build
This screen should act as a bottom sheet. When the user clicks outside the area of the bottom sheet it should close. We should implement the appropriate close actions suggested by google. Found here:
Original issue
I accidentally clicked on a new session toast as it popped up while I was doing something else.
Now I have this and can't dismiss it:
I want to be able to dismiss that dialog by clicking away from it.
The text was updated successfully, but these errors were encountered: