panes
panes copied to clipboard
[FEAT] Fixed Footer – content fixed to the bottom of the screen
What are you trying to add to Cupertino-Pane? It would be good if there was a way to add content within a pane that was fixed at the bottom of the screen, no matter the position of the pane breakpoint.
Describe your feature request detailed My use case is a Reply button/text input that needs to sit at the bottom of the screen when the pane is opened. If the user moves the pane from medium to top then the button/input should remain at the bottom.
I attempted this with the offsetBottom
parameter and having the button/input be separate to the pane, which works when the pane is at the top, but when it is scrolled down it is rendered over the top.
I also tried to use fixed positioning on the button/input when within the pane, but the issue is that the fixed positioning on the pane, combined with the transform, means that any children with fixed positioning are relative to the pane, and not the viewport (https://developer.mozilla.org/en-US/docs/Web/CSS/position#fixed_positioning).
Is there an alternative at the latest version?
[ ] Yes (descripe the alternative) [x] No
Is this related to an issue?
[ ] Yes (Give a link to the issue) [x] No