Closed roman-rr closed 3 months ago
@lorenzodianni Thank you for mentions.
You are right, fitHeight: true
is option that doesn't support breakpoint options and other configuration about bottom/middle/top breakpoint.
Fit Height will automatically calculate size of pane (based on container height and all elements inside), and then present pane to the screen with some bottom margin (bottomOffset).
But, bottomClose: true
should works fine with fitHeight: true
. Here is example.
Thank you @roman-rr , for the quick response!
Do you also know if bottomClose: true
is supported with breakpoints or not?
Thanks!
@lorenzodianni Yes, bottomClose: true
can be used with breakpoints to close pane when its reached bottom
position.
Hi @roman-rr , does the
fitHeight: true
feature work with breakpoints? I am trying to initialize the CupertinoPane with this configuration:but I have 2 problems:
bottom: { enabled: false }
, thebottomClose
option does not seem to workIs this a feature not implemented with breakpoints, or am I configuring something wrong? Thanks!
Originally posted by @lorenzodianni in https://github.com/tech-systems/panes/issues/113#issuecomment-2198612751