diff --git a/src/app/components/dialog/dialog.ts b/src/app/components/dialog/dialog.ts index bb7a21fcb6f..49a87468979 100755 --- a/src/app/components/dialog/dialog.ts +++ b/src/app/components/dialog/dialog.ts @@ -19,6 +19,7 @@ import { PLATFORM_ID, QueryList, Renderer2, + SimpleChanges, TemplateRef, ViewChild, ViewEncapsulation, @@ -73,13 +74,13 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{ (@animation.start)="onAnimationStart($event)" (@animation.done)="onAnimationEnd($event)" role="dialog" - [attr.aria-labelledby]="getAriaLabelledBy()" + [attr.aria-labelledby]="ariaLabelledBy" [attr.aria-modal]="true" >
When autoplayInterval is defined in milliseconds, items are scrolled automatically. In addition, for infinite scrolling circular property needs to be added which is enabled automatically in auto play mode.