Skip to content

Commit

Permalink
fix(stark-ui): keep scroll position after closing sidenav
Browse files Browse the repository at this point in the history
  - set `autofocus` of `mat-sidenav` to `false`

CLOSES ISSUE: #750
  • Loading branch information
carlo-nomes committed Jan 11, 2019
1 parent 431f1e0 commit 7d55a3e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
(openedChange)="toggleClassesOnOpen($event)"
(openedStart)="setClassOnOpenStart()"
(closedStart)="setClassOnCloseStart()"
[autoFocus]="false"
>
<ng-container *ngIf="sidenavLeftType === 'regular'">
<ng-content class="regular" select="[stark-app-sidenav-left]"></ng-content>
Expand Down

0 comments on commit 7d55a3e

Please sign in to comment.