material-tailwind icon indicating copy to clipboard operation
material-tailwind copied to clipboard

Dialogs are not scrollable in responsive mode

Open basitanwer opened this issue 2 years ago • 1 comments

Head over to the Dialog example and open it on mobile. Try Sign in or Dialog with image

basitanwer avatar May 12 '23 14:05 basitanwer

This happens any time the Dialog is larger than the viewport.

This can be fixed with a theme override:

<ThemeProvider
                  value={{
                    dialog: {
                      styles: {
                        base: {
                          backdrop: {
                            position: 'relative',
                          },
                        },
                      },
                    },
                  }}
                >

I've opened PR #648 for this.

marlier avatar Mar 12 '24 15:03 marlier