We should be able to scroll to the top tabs. For this the tab tray should be expanded.
Tab list closes as soon as we try to scroll to first tab.
Tab tray should be collapsed, not edging to the top of the screen since we have few tabs to show and otherwise there would be a lot of empty space.
This is the behavior seen when opening the tab tray for <=3 tabs while in portrait.
The tab tray is expanded, edging the top of the screen, occupying unneeded space.
@kbrosnan if you haven't found the dupe to this, I think we could still pass this off to @Mugurell and the team.
EDIT: oh wait! it's already in the prioritized backlog :)
Seems similar to #14980 and #13777 but not quite the same problem.
Seems similar to #14980 and #13777 but not quite the same problem.
Yes, these are a different issue that I wanted to resolve.
It had come up in review that we don't have ux feedback for the following change that would fix the issues described here:
We were already setting the tab tray to occupy full height or half height of the screen.
The proposed solution would have the tab tray check whether to be shown as expanded or collapsed (full / half scrren) not just when it is first shown but also whenever the user changes from private to normal tabs & vice versa and when changing orientation.
The result would be:

video
Asking UX if the above seems ok or what should the behavior be.
@Mugurell would it be possible to keep the height consistent and use the mode with the most tabs as reference? So when it is fully expanded in normal mode, we keep it fully expanded even if there are less then 3 tabs in private mode.
Verified as fixed on Nightly 201022 05:00 (Build #2015771115) GV 83.0a1 from 10/22 with Pixel 2 (Android 9).
Scenarios tested:
On Beta 83.0.0-beta.1 GV 83.0 from 10/21 this is partially fixed because scenario 4 is not fixed.
Thank you Eliza!
Just checked, this is not in beta yet - https://github.com/mozilla-mobile/fenix/compare/v82.1.0...v83.0.0-beta.1
so I think we can consider it as fixed for Nightly, pending upstream merges.
that change sounds like the tab tray will basically always be expanded now. doesn't that defeat the point of a tray/drawer: reachability? (<- should this be a colon, semicolon or comma?)
and i don't see my issue, #14204, mentioned here :/ I don't have private browsing in my repro steps.
that change sounds like the tab tray will basically always be expanded now. doesn't that defeat the point of a tray/drawer: reachability? (<- should this be a colon, semicolon or comma?)
and i don't see my issue, #14204, mentioned here :/ I don't have private browsing in my repro steps.
I think the intent here is to have the tabs tray have a height best accommodating the list of opened tabs.
With just few tabs the tray is collapsed - small, after a certain threshold the tray is expanded.
This was the original behavior also, this ticket just comes to resolve some small quirks.
The situation described in #14204 seems to not be an issue, left a comment there.
I've gotta test out my issue on an older version. I ought to make a recording. Other people have run into the same issue that I did and agreed.
I understand your intent of changing it. You're making it fit the tabs. It used to be a fixed height though and was more reachable. The intent of the other behaviour was reachability. It's something that requires some input from UX or whatever because it might as well be a screen instead of a tray/sheet