Skip to content

Commit

Permalink
iOS 17.1+ 특정 단말에서 panModal로 present를 2번 이상하면 2번 째
Browse files Browse the repository at this point in the history
부터 dest viewController가 노출되지 않는 이슈 수정 사항 적용
(slackhq#204)
  • Loading branch information
nil-bae committed Dec 15, 2023
1 parent b2f5bd7 commit 3656f60
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 @@ -177,6 +177,10 @@ 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 3656f60

Please sign in to comment.