Alexander Fomin
Results
2
comments of
Alexander Fomin
In my case adding `fpc.invalidateLayout()` before presenting solved this problem.
You should implement method **floatingPanel(_:shouldRemoveAt:with:)** of delegate **FloatingPanelControllerDelegate** Like this: ``` func floatingPanel(_ fpc: FloatingPanelController, shouldRemoveAt location: CGPoint, with velocity: CGVector) -> Bool { let height = fpc.contentViewController?.view.bounds.height ?? 0...