I\'m using angular 5 and angular material (latest version) and I\'m trying to open a dialog from a page. When I click the button that triggers the opening, the entire website is
For removing the blank white page background, you can use any one of the css :
.cdk-global-scrollblock{ height: auto } or .cdk-global-scrollblock{ position: static !important; width: initial !important; overflow-y: inherit !important; }