gecko-dev/mobile
Tom Klein f075e911e0 Bug 1350737 - Make the selected tab's row the first visible row when the tabs tray opens. r=sebastian
That helps usability in the following scenario:
1) Open more tabs than will fit on screen in the tabs tray (and fill the last
row with tabs if the tabs tray is in a grid mode);
2) Scroll to the bottom;
3) Open one of the last visible tabs, and from that open tab open a new
background tab (e.g. long click on a link in a page and choose "Open in new
tab");
4) Reopen the tabs tray.

With the fix, the new tab will be visible at the bottom of the list, whereas
previously in list mode it was not visible at all, and in grid modes only the
top of the title was visible.

(Bug 1299905 would make this sort of situation more widely applicable.)

This patch also has the side effect of scrolling the selected tab to the top of
the tabs tray on each rotation (previously it was just scrolled into view).

MozReview-Commit-ID: 4MKY7P1Mihk

--HG--
extra : rebase_source : a00776803b199a949ba598805e79a71fde82e2f3
2017-03-26 21:44:23 -05:00
..
android Bug 1350737 - Make the selected tab's row the first visible row when the tabs tray opens. r=sebastian 2017-03-26 21:44:23 -05:00
locales Bug 1350473 - add BUG_COMPONENT to mobile/* files. r=snorp 2017-04-11 09:47:28 -04:00