#1418 (page controller scrolling in two axes)

This commit is contained in:
David Sinclair 2021-02-26 15:00:46 -08:00
parent 6f30cfa18c
commit e31b1813de
3 changed files with 2 additions and 5 deletions

View file

@ -1462,6 +1462,7 @@
appDelegate.storyPagesViewController.traverseBottomConstraint.constant = viewportHeight - (webpageHeight - topPosition) + safeBottomMargin;
}
[appDelegate.storyPagesViewController resizeScrollView];
[self storeScrollPosition:YES];
}
}

View file

@ -576,10 +576,6 @@
}
}
if (!hide) {
[self resizeScrollView];
}
if (!self.isHorizontal) {
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.5 * NSEC_PER_SEC),
dispatch_get_main_queue(), ^{

View file

@ -13,7 +13,7 @@
<objects>
<viewController storyboardIdentifier="DetailViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="djW-7k-haK" customClass="DetailViewController" customModule="NewsBlur" customModuleProvider="target" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jTZ-4O-xyT">
<rect key="frame" x="0.0" y="0.0" width="818.5" height="834"/>
<rect key="frame" x="0.0" y="0.0" width="1194" height="834"/>
<subviews>
<containerView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bPa-u1-Aml">
<rect key="frame" x="0.0" y="50" width="1194" height="604"/>