Can you combine a modal wizard with stickyModalFooter? #12729
Unanswered
henninghorn
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Package
Actions
Package Version
v3.2.76
How can we help you?
I'm using a modal to display a wizard using this approach: https://filamentphp.com/docs/3.x/actions/modals#using-a-wizard-as-a-modal-form
I have a step in the wizard with a lot of content, which therefore pushes the "next"-button out of the viewport, so that you have to scroll down to see it.
Normally with a modal with a lot of content, you could use the
stickyModalFooter()
method (https://filamentphp.com/docs/3.x/actions/modals#making-the-modal-footer-sticky), in order to always display the buttons at the bottom.However, this doesn't seem to work with a modal that has a wizard.
You can use the
stickyModalHeader()
to keep your header displayed while scrolling, but you can't use thestickyModalFooter()
.What is the best workaround for this?
I'm concidering using a regular form within the modal, with a wizard component, where I hide the wizard controls.
And then add my own controls for the modal's footer. However, this approach seems a little hacky to me.
Beta Was this translation helpful? Give feedback.
All reactions