Open wilsonpage opened 8 years ago
Blocked by bug 1238985
I've tried a variety of hacks to get this behaviour, but nothing seems to work well enough. One option I haven't tried is moving the current tab out of the tabs-view scroller completely and then placing back into the scroller once deactivated.
I fear we'll get some reflow jank when re-entering the tabs-view though :(
Janky workarounds are not an option :)
When user user scrolls to the bottom of the tab content, the scroll propagates to the next scrollable container (hope-tab-list) and enters the 'tab-view'.
We need to find a way to prevent this default behaviour.
I tried using the technique that Gaia utility tray uses (
overflow: scroll
on a non-overflowing ancestor container), but this failed to work unless the property was set after the content had been scrolled. This suggests the technique is a hack exploiting a corner-case in the APZ implementation.We need to find a reliable way to prevent scroll gestures propagating to ancestor scoll containers.