-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with prefersLargeTitles when scrollview bounce locked. #304
Comments
Thank you for your report. I've acknowledged this issue. I'm going to try to fix this issue. |
I'm having a similar issue. I have the following stack:
When I set the |
So I played with this some more. When the fcp contains a navigation controller, and your using that fcp in a tab of a
|
Thanks you @jsm174. Yeah I've confirmed it's related to the content insets. |
Please use |
Short description
When i set UINavigationController controller as contentViewController and use prefersLargeTitles for rootviewcontroller of it. i am not able to get title back to its position when scroll down the floatingpanelcontroller. and title sticks to the top. Is there any solution for this in FloatingPanel
Thanks.
Expected behavior
Actual behavior
Code example that reproduces the issue
let nav = UINavigationController(rootViewController: self.nearByVC) self.floatingPanelController.set(contentViewController: nav) self.floatingPanelController.track(scrollView: self.nearByVC.tableView) self.floatingPanelController.isRemovalInteractionEnabled = false self.floatingPanelController.surfaceView.contentInsets = .init(top: 20, left: 0, bottom: 0, right: 0)
Environment
Debug
Library version
1.71
Installation method
pod 'FloatingPanel'
iOS version(s)
13.3
Xcode version
11.3
The text was updated successfully, but these errors were encountered: