#1247 (Mac Catalyst edition)

- Fixed overlapping stories when swiping with two fingers in feed detail.
- This issue was on iPad too (and may not have been Catalyst-specific).
This commit is contained in:
David Sinclair 2024-03-26 22:02:32 -05:00
parent 87d3cabfad
commit d41280b2e1

View file

@ -381,6 +381,10 @@
self.scrollView.frame = CGRectMake(frame.origin.x, frame.origin.y, floor(frame.size.width), floor(frame.size.height));
}
if (self.scrollView.subviews.lastObject != self.currentPage.view) {
[self.scrollView bringSubviewToFront:self.currentPage.view];
}
[super viewDidLayoutSubviews];
}