Calculate height size dynamicaly #469
Replies: 3 comments 7 replies
-
Could you please give me examples for each automatic and manual height? |
Beta Was this translation helpful? Give feedback.
-
@scenee I succeeded. :) if I put an offet at 300 with the method it's OK. but this offset works even when the items in the bottomSheet are small. Is it possible to set the offset to 0 when the bottomSheet does not reach a certain height and put one when it exceeds a certain height of the screen? |
Beta Was this translation helpful? Give feedback.
-
Thank you for your patient. I support this feature in the |
Beta Was this translation helpful? Give feedback.
-
I have a position 'tip' of 'FloatingPanelPosition".
is it possible to calculate the height automatically?
or do you have to calculate the height manually?
what I will :
func insetFor(position: FloatingPanelPosition) -> CGFloat? { switch position { case .tip: return 100 default: return nil } }
Thanks
Beta Was this translation helpful? Give feedback.
All reactions