Skip to content

Commit

Permalink
fix: fix ios 17.1+ issue
Browse files Browse the repository at this point in the history
  • Loading branch information
semen-sequenia committed Nov 29, 2023
1 parent 500c63b commit 3ab27cf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions PanModal/Controller/PanModalPresentationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ open class PanModalPresentationController: UIPresentationController {

guard let containerView = containerView
else { return }

if self.panContainerView.frame == .zero {
self.adjustPresentedViewFrame()
}

layoutBackgroundView(in: containerView)
layoutPresentedView(in: containerView)
Expand Down

0 comments on commit 3ab27cf

Please sign in to comment.