[PanModal] Round frame positions for comparison (#83)
This commit is contained in:
@@ -311,7 +311,7 @@ private extension PanModalPresentationController {
|
||||
var isPresentedViewAnchored: Bool {
|
||||
if !isPresentedViewAnimating
|
||||
&& extendsPanScrolling
|
||||
&& presentedView.frame.minY <= anchoredYPosition {
|
||||
&& presentedView.frame.minY.rounded() <= anchoredYPosition.rounded() {
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user