Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Snackbar and dialog taking full screen in production #14376
Bug, feature request, or proposal:
I use MatDialog and MatSnackBar at various points in my web app to notify/ warn user about something. When I use these in debug mode using
What is the expected behavior?
The dialogs and snackbars should show normal behaviour in production mode
What is the current behavior?
Dialogs and snackbars cover whole screen in production mode
What is the use-case or motivation for changing an existing behavior?
Nice UI for the user
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
I digged into the inspect section and found that the
I was able to find the problem. The problem was in my index.html. I hadn't closed the