You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starter app is janky after adding Angular Material
::ng-deep is deprecated but that's only solution we can use for now from template. It should be removed when ::ng-deep will be removed from angular.
Fixesangular#16966
🐞 Bug report
Command
Is this a regression?
Yes
Description
A newly generated application using
ng new
will have several UI issues once you installng add @angular/material
.This is because Angular Material will add the following styles to the global stylesheet:
This causes an issue with the header, which has
margin: -8px
since it assumes thebody
hasmargin: 8px
.Once Angular Material adds it's boilerplate styles, the page exhibits wild scrolling jank whenever you hover over any button on the page.
🔬 Minimal Reproduction
🌍 Your Environment
The text was updated successfully, but these errors were encountered: