You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 the stickyModalFooter().
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.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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