FloatingPanel icon indicating copy to clipboard operation
FloatingPanel copied to clipboard

how to implement Dynamically FloatingPanel. I had tried FloatingPanelBottomLayout also IntrinsicLayout but not able to get dynamic height.

Open hirentank opened this issue 4 years ago • 4 comments

Simulator Screen Shot - iPhone XR - 2020-12-30 at 16 20 33

I have used the latest pod version.

hirentank avatar Dec 30 '20 10:12 hirentank

In above screenshot I have added Fixed height for FloatingPanelState = .half

.half: FloatingPanelLayoutAnchor(absoluteInset: 350, edge: .bottom, referenceGuide: .safeArea)

hirentank avatar Dec 30 '20 10:12 hirentank

FloatingPanelAdaptiveLayoutAnchor might help your use case. https://github.com/SCENEE/FloatingPanel/releases/tag/2.1.0

scenee avatar Jan 05 '21 09:01 scenee

FloatingPanelAdaptiveLayoutAnchor might help your use case. https://github.com/SCENEE/FloatingPanel/releases/tag/2.1.0

I had tried but FloatingPanelAdaptiveLayoutAnchor not working not updating to dynamic size.

hirentank avatar Jan 05 '21 10:01 hirentank

Could you please let me know more detail about "dynamic size/height" following this format? A sample code and the expected behavior could make it easy for me to help you.

scenee avatar Jan 05 '21 11:01 scenee