Commit 2c9c37c4 authored by David Jean's avatar David Jean Committed by Commit Bot

[ios] Fix bottom inset issue in tab grid

Reset insets after changing configuration during a size change.

Bug: 1114134
Change-Id: I3d32d5db03f5c2446830336d07821e325a443d22
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2351833Reviewed-by: default avatarMark Cogan <marq@chromium.org>
Commit-Queue: David Jean <djean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797260}
parent 8567ec4b
...@@ -199,6 +199,7 @@ NSUInteger GetPageIndexFromPage(TabGridPage page) { ...@@ -199,6 +199,7 @@ NSUInteger GetPageIndexFromPage(TabGridPage page) {
[self scrollToPage:_currentPage animated:NO]; [self scrollToPage:_currentPage animated:NO];
[self configureViewControllerForCurrentSizeClassesAndPage]; [self configureViewControllerForCurrentSizeClassesAndPage];
[self setInsetForRemoteTabs]; [self setInsetForRemoteTabs];
[self setInsetForGridViews];
}; };
[coordinator animateAlongsideTransition:animate completion:nil]; [coordinator animateAlongsideTransition:animate completion:nil];
} }
......
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