Skip to content

Commit

Permalink
Update PanModalPresentationController.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
insub4067 authored Dec 12, 2023
1 parent b2f5bd7 commit fc476cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PanModal/Controller/PanModalPresentationController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,9 @@ open class PanModalPresentationController: UIPresentationController {

guard let containerView = containerView
else { return }

if self.panContainerView.frame == .zero {
self.adjustPresentedViewFrame()
}
layoutBackgroundView(in: containerView)
layoutPresentedView(in: containerView)
configureScrollViewInsets()
Expand Down

0 comments on commit fc476cf

Please sign in to comment.