Commit 843e395a authored by Robbie Gibson's avatar Robbie Gibson Committed by Chromium LUCI CQ

[iOS][Thumb Strip] Fix recent tabs content offset

Before, -setInsetForRemoteTabs wasn't being called because the tab grid
was appearing in a different way (through the pan handler).

Fixed: 1155610
Change-Id: I1444624c2bf7d6c3c379f083205a520a731cab98
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2585095Reviewed-by: default avataredchin <edchin@chromium.org>
Commit-Queue: Robbie Gibson <rkgibson@google.com>
Cr-Commit-Position: refs/heads/master@{#836195}
parent 753f28eb
...@@ -577,6 +577,7 @@ NSUInteger GetPageIndexFromPage(TabGridPage page) { ...@@ -577,6 +577,7 @@ NSUInteger GetPageIndexFromPage(TabGridPage page) {
- (void)didAnimateViewReveal:(ViewRevealState)viewRevealState { - (void)didAnimateViewReveal:(ViewRevealState)viewRevealState {
if (viewRevealState == ViewRevealState::Revealed) { if (viewRevealState == ViewRevealState::Revealed) {
self.scrollView.scrollEnabled = YES; self.scrollView.scrollEnabled = YES;
[self setInsetForRemoteTabs];
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment