Skip to content

Commit ab0e985

Browse files
committed
s/active/!disabled
1 parent 6bc6dc0 commit ab0e985

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib/core/a11y/focus-trap.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<div *ngIf="active" tabindex="0" (focus)="focusLastTabbableElement()"></div>
1+
<div *ngIf="!disabled" tabindex="0" (focus)="focusLastTabbableElement()"></div>
22
<div #trappedContent><ng-content></ng-content></div>
3-
<div *ngIf="active" tabindex="0" (focus)="focusFirstTabbableElement()"></div>
3+
<div *ngIf="!disabled" tabindex="0" (focus)="focusFirstTabbableElement()"></div>

0 commit comments

Comments
 (0)