When presenting a subclass of UINavigationController which conforms to the PanPresentable, the .intrinsicHeight is always fullscreen and not using the height of the FirstViewController which is the rootViewController of the UINavigationController.
When presenting a FirstViewController using the presentPanModal method, the view is correctly using the height of the content of the FirstViewController.
Is there anyway to get this behaviour?
What type of issue is this? (place an x in one of the [ ])
[x] bug
Requirements (place an x in each of the [ ])
[X] I've read and understood the Contributing guidelines and have done my best effort to follow them.
Description
When presenting a subclass of
UINavigationController
which conforms to thePanPresentable
, the.intrinsicHeight
is always fullscreen and not using the height of theFirstViewController
which is therootViewController
of theUINavigationController
.When presenting a
FirstViewController
using thepresentPanModal
method, the view is correctly using the height of the content of theFirstViewController
.Is there anyway to get this behaviour?
What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
PanModal version: 1.2.7
iOS version: 14.5
Expected result:
The
UINavigationController
would adjust the height to therootViewController
when being presented using thePanModalPresentable
Actual result:
It didn't adjust the height.