-
Notifications
You must be signed in to change notification settings - Fork 472
[Bug] Browser menus can be too narrow #9922
Comments
Looked into this a bit, seems like something that can easily be fixed in AC. |
This is a very interesting issue of the The RecyclerView is a bit too dynamic, in that it will always have the width of the maximum displayed children. This means that depending on the parent and LayoutParams, with enough items to scroll through it could potentially yo-yo in width depending in what's displayed at that exact moment. I think this is a bit unexpected and what we'd want is to have it have the width of the largest item. Saw that in the first To accommodate our needs seems like we should just cache the first reported width and only use that afterwards. |
Previously the width could've change while the menu was scrolled or the width may have been too small / big for the entire list when a larger / narrower would be initially off screen, waiting for a scroll to be laid out.
Previously the width could've change while the menu was scrolled or the width may have been too small / big for the entire list when a larger / narrower would be initially off screen, waiting for a scroll to be laid out.
Previously the width could've change while the menu was scrolled or the width may have been too small / big for the entire list when a larger / narrower would be initially off screen, waiting for a scroll to be laid out.
Seen while testing mozilla-mobile/fenix#17772
With newCoreMenuItems the menu may be too narrow.
Currently seems to only reproduce only when the toolbar is set on top:
MenuIsTooNarrow.mp4
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: