diff --git a/src/material/button/button-base.ts b/src/material/button/button-base.ts index 3b54a1794391..93ef4e90807a 100644 --- a/src/material/button/button-base.ts +++ b/src/material/button/button-base.ts @@ -151,7 +151,9 @@ export class MatButtonBase implements AfterViewInit, OnDestroy { /** * Natively disabled buttons prevent focus and any pointer events from reaching the button. * In some scenarios this might not be desirable, because it can prevent users from finding out - * why the button is disabled (e.g. via tooltip). + * why the button is disabled (e.g. via tooltip). This is also useful for buttons that may + * become disabled when activated, which would cause focus to be transferred to the document + * body instead of remaining on the button. * * Enabling this input will change the button so that it is styled to be disabled and will be * marked as `aria-disabled`, but it will allow the button to receive events and focus. diff --git a/src/material/paginator/paginator.html b/src/material/paginator/paginator.html index 10ae36fabfb2..fc31c05fcefe 100644 --- a/src/material/paginator/paginator.html +++ b/src/material/paginator/paginator.html @@ -41,6 +41,12 @@ {{_intl.getRangeLabel(pageIndex, pageSize, length)}} + + @if (showFirstLastButtons) {