PanModal
PanModal copied to clipboard
Update PanModalPresentationController.swift
Summary
self.panModalSetNeedsLayoutUpdate()
self.panModalTransition(to: .longForm)
After shouldRoundTopCorners is set, if the height of the view is refreshed, the content of the page will be completely masked because the width and height of the page are 0 when the corners are drawn
So just need to redraw after containerViewDidLayoutSubviews rounded corners
Requirements (place an x in each [ ])
-
[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
-
[x] I've read and agree to the Code of Conduct.
-
[x] I've written tests to cover the new code and functionality included in this PR.