When first and following time user enters the page, placed button is not focused and highlighted by gray color. I tried to set autofocus: <button mat-raised-button color="primary" autofocus>{{'recovery' | translate}}</button> I consider that it is imperfection of Material buttons. How to set focused material button in last Angular? Continue reading...