scenee / FloatingPanel

A clean and easy-to-use floating panel UI component for iOS
MIT License
5.6k stars 508 forks source link

The initial height for .half doesn't fit many screens. How to dynamically implement it? #377

Closed yashjain27 closed 3 years ago

yashjain27 commented 4 years ago

Description : For the FloatingPanelLayout class, I am trying to override and implement an initial height. Although .full and .tip work gracefully. The .half doesn't fit many screens halfway. Is there a way to implement this dynamically?

Expected behavior

Actual behavior

Steps to reproduce

Code example that reproduces the issue

How do you display panel(s)?

How many panels do you displays?

Environment

Library version

Installation method

iOS version(s)

Xcode version

warpling commented 4 years ago

There are instructions for how to do this in the README.

scenee commented 3 years ago

Thank you, @warpling!