Hi Folks,
Is there any solution for use the bottom-sheet-modal for open a full-page modal? I mean, after using the breakpoints, the 100% height should open the modal on full screen as a “normally opened” modal page.
Hi Folks,
Is there any solution for use the bottom-sheet-modal for open a full-page modal? I mean, after using the breakpoints, the 100% height should open the modal on full screen as a “normally opened” modal page.
You can do this by setting the last item in breakpoint prop array to 1
breakpoints: [0.3, 0.5, 1]
For me, with the last ‘1’ value the modal not fit the screen, there is a top padding. Without the breakpoints property, it fits the screen on open.
you can add other numbers after the decimal point. Try 1.15 or 1.25. It should work.