[Menu Redesign] Add BottomSheetDialog.dismiss() when onRequestDismiss is called
Categories
(Fenix :: Toolbar, task, P1)
Tracking
(firefox130 fixed)
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: royang, Assigned: giorga)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxdroid])
Attachments
(1 file)
A predictive back is when the user swipes left -> right or right -> left from the edge of the screen, it will dismiss/close the menu.
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Reporter | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Updated•11 months ago
|
Reporter | ||
Updated•11 months ago
|
Reporter | ||
Updated•11 months ago
|
Updated•9 months ago
|
Comment 1•9 months ago
|
||
Does this involve opting-in to predictive back entirely or at an activity level?
Comment 2•9 months ago
•
|
||
The predictive back behaviour is different for the sub-menu.
- If a user does predictive back in the sub-menu, it takes them to the main menu. It does not close the menu component.
- If a user does predictive back on the main menu, it closes the menu component.
Should that be a separate ticket?
Reporter | ||
Updated•9 months ago
|
Updated•8 months ago
|
Comment 3•8 months ago
|
||
Comment 4•8 months ago
|
||
(In reply to Aarjav [:aarjav] from comment #2)
The predictive back behaviour is different for the sub-menu.
- If a user does predictive back in the sub-menu, it takes them to the main menu. It does not close the menu component.
- If a user does predictive back on the main menu, it closes the menu component.
Should that be a separate ticket?
I think this can both be resolved in this ticket depending on the assignee. If not, we can always file a follow up for anything that is not covered.
Assignee | ||
Updated•7 months ago
|
Updated•7 months ago
|
Assignee | ||
Comment 5•7 months ago
|
||
Comment 6•7 months ago
•
|
||
Isn't this functionality already working?:
- back in a submenu should return to menu
- back in menu should close it
Is the default behavior for when swiping horizontally from the edge of the screen - this gesture is seen as a back press.
The predictive back gesture framework aims to show an animated preview of where the user would get when pressing back - https://developer.android.com/guide/navigation/custom-back/predictive-back-gesture
Not sure we need that for the menu/submenu.
Updated•7 months ago
|
Comment 8•7 months ago
|
||
bugherder |
Updated•7 months ago
|
Updated•7 months ago
|
Comment 9•7 months ago
|
||
Re-purposed this bug to handle dismissing the bottom sheet when onRequestDismiss
in the bottom sheet handle is called.
Description
•