Closed randalmaia closed 1 month ago
Hey, thanks for the request. It shouldn't be hard to add it so I've added it as a pre 3.0 feature to the roadmap
Code changes for this request should be out now in 2.11.10. Documentation and design changes will follow in the v3 release, we've added the changes to the release prep checklist.
Meanwhile you can use it in React with <Modal position="full-screen">
. Since position property is responsive, you can use object syntax for it too: position={{ s: 'full-screen', m: 'center' }}
https://github.com/formaat-design/reshaped/assets/887379/1b22ab1d-b6b6-4af1-a11e-9eb4d5776314
Is your feature request related to a problem? Please describe. Enable fullscreen modal
Describe the solution you'd like I would like a modal that is fullscreen.
Describe alternatives you've considered Today the
max-width
of modal iscalc(100vw-padding)
Enable the dev to set his padding or create a prop for fullsize modal. Enable to have the same modal not fullscreen in desktop but full screen on mobile.Additional context