Various improvements

This commit is contained in:
Ilya Laktyushin
2023-01-10 19:03:20 +04:00
parent c61bf3330a
commit e5793073e6
10 changed files with 65 additions and 19 deletions

View File

@@ -542,6 +542,9 @@ final class NavigationModalContainer: ASDisplayNode, UIScrollViewDelegate, UIGes
} else if listNode.scroller.isDecelerating && listNode.scroller.contentOffset.y < listNode.scroller.contentInset.top {
return self.scrollNode.view
}
} else if let currentParent, currentParent.disablesInteractiveModalDismiss {
enableScrolling = false
break
}
currentParent = currentParent?.superview
}