Angular Material Dialog moves body only in Chrome
0
I'm working with Angular Material (7.1.1) and when I trigger a MatDialog from a button, first of all it hide half of the page. Googling around I've found out a workaround which was to set .cdk-global-scrollblock { position: static; width: initial; overflow: hidden !important; } But now, every time I try to open the dialog, it opens correctly, but it scrolls the page to the top. It only happens in Chrome 67, I already tested in Firefox 64 and it works as expected. Any tip to help me overcome this problem is appreciated. Thanks!
angular modal-dialog angular-material
share | improve this question
asked Jan 3 at 0:42
...