Lateral tapping outside the menu does not return to web page #5720
Comments
I can see how this can be a problem as we have some big context menus in some cases (is that intended/acceptable? - we might be able to limit the menu height) but AFAIK we do not dismiss the context menu on tapping to the right or left in Fenix either. |
@mcarare @delia-pop I agree. Tapping on the horizontal sides of a context menu should dismiss it. I also agree with Mihai. We should file a separate issue to limit the height of the context menu. What are the top and bottom margin/padding values that we should use? According to Material Design 3:
|
Remove the background with inset and use windowMinWidthMajor, windowMinWidthMinor
Remove the background with inset and use windowMinWidthMajor, windowMinWidthMinor
Remove the background with inset and use windowMinWidthMajor, windowMinWidthMinor
Tested on Beta 95.0.0-beta.1 build and latest debug build from main 11/04 with Huawei P9 Lite (Android 8)/Sony Xperia Z5 (Android 7)/OnePlus 6T (Android 9). The issue is verified fixed on the debug build with OnePlus 6T (Android 9) on both Portrait and Landscape modes. Note that it is still present on the Beta 95.0.0-beta.1 build. OnePlus.6T.Android.9.mp4Huawei.P9.Lite.Android.8.mp4Sony.Xperia.Z5.Android.7.mp4 |
Please note that horizontal typing is still not dismissing the context menus on Portrait mode on the Beta 95.0.0-beta.5 (build 353202152 GV 95.0-20211114185943) with LG G7 fit (Android 8.1.0)/Huawei P9 Lite (Android 8). |
@delia-pop Seems that the space between menu and screen margins is too small for some devices. @jeffreygee To display a context menu Focus and Fenix are using the same component from android components project, fact which makes me put myself the next questions: Should I update this component and add some extra margins? But after that the dialog will not respect the figma design anymore. At this moment in Fenix this menu is not dismissible if we are tapping on left, right sides. If I am adding an extra margin, this change should be reflected in both apps(Focus, Fenix)? |
@ionutbedregeanu - let me check in quickly with our design systems team to see if they're addressing this in their new designs |
@ionutbedregeanu - I checked in with some folks on the design systems teams and they weren't aware of this either, so I put it on their radar as well. This should definitely be reflected in both apps (Focus, Fenix) so that it's a consistent experience throughout. So, as of right now, is the side dismissing fixed across everything except the portrait on Android 8? If that's the case, I think we should pause on updating for now and continue to sync up with the other teams before updating the component and make sure we keep it consistent with breakpoints/margins/etc across both apps so that we're not doubling the work. Happy to hear your thoughts as well though. |
Sounds good to me. I will put this ticket on pause until further updates |
This issue is no longer occurring on the 96.0.0-beta.1 (Build 353412232 GV 96.0-20211206194555) with Xiaomi Redmi Note 8T (Android 9). |
@lobontiumira @delia-pop still reproducible? |
Tested with Google Pixel 6 (Android 12) on the latest RC 101.1.1 and Beta 102. Beta 1. I cannot reproduce this issue anymore. |
Steps to reproduce
Expected behavior
Tapping anywhere outside the menu will dismiss it, the user is returned to web page.
Actual behavior
Tapping outside the menu on the lateral left/right sides will not dismiss the menu. Please note that tapping above/below the menu works as expected, dismissing the menu.
Device information
This issue was not reproduced on tablets.
20211027_163058.mp4
The text was updated successfully, but these errors were encountered: