Skip to content

Commit

Permalink
fix(paginator): inconsistently disabling tooltips between browsers (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbeto authored and josephperrott committed Aug 7, 2018
1 parent 6048f6f commit 35bdd00
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/paginator/paginator.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
(click)="firstPage()"
[attr.aria-label]="_intl.firstPageLabel"
[matTooltip]="_intl.firstPageLabel"
[matTooltipDisabled]="!hasPreviousPage()"
[matTooltipPosition]="'above'"
[disabled]="!hasPreviousPage()"
*ngIf="showFirstLastButtons">
Expand All @@ -42,6 +43,7 @@
(click)="previousPage()"
[attr.aria-label]="_intl.previousPageLabel"
[matTooltip]="_intl.previousPageLabel"
[matTooltipDisabled]="!hasPreviousPage()"
[matTooltipPosition]="'above'"
[disabled]="!hasPreviousPage()">
<svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">
Expand All @@ -53,6 +55,7 @@
(click)="nextPage()"
[attr.aria-label]="_intl.nextPageLabel"
[matTooltip]="_intl.nextPageLabel"
[matTooltipDisabled]="!hasNextPage()"
[matTooltipPosition]="'above'"
[disabled]="!hasNextPage()">
<svg class="mat-paginator-icon" viewBox="0 0 24 24" focusable="false">
Expand All @@ -64,6 +67,7 @@
(click)="lastPage()"
[attr.aria-label]="_intl.lastPageLabel"
[matTooltip]="_intl.lastPageLabel"
[matTooltipDisabled]="!hasNextPage()"
[matTooltipPosition]="'above'"
[disabled]="!hasNextPage()"
*ngIf="showFirstLastButtons">
Expand Down

0 comments on commit 35bdd00

Please sign in to comment.