File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,7 @@ import {
2323 <button
2424 class="bx--overflow-menu-options__btn"
2525 role="menuitem"
26- [ngClass]="{
27- 'bx--overflow-menu-options__option--disabled': disabled
28- }"
26+ [disabled]="disabled"
2927 [tabindex]="(disabled ? -1 : null)"
3028 [title]="(titleEnabled ? content : '')">
3129 <ng-content></ng-content>
Original file line number Diff line number Diff line change @@ -83,6 +83,6 @@ export class OverflowMenuPane extends Dialog {
8383 private listItems ( ) {
8484 const buttonClass = ".bx--overflow-menu-options__btn" ;
8585 const disabledClass = ".bx--overflow-menu-options__option--disabled" ;
86- return Array . from < any > ( this . dialog . nativeElement . querySelectorAll ( `${ buttonClass } :not(${ disabledClass } )` ) ) ;
86+ return Array . from < any > ( this . dialog . nativeElement . querySelectorAll ( `${ buttonClass } :not([disabled] )` ) ) ;
8787 }
8888}
You can’t perform that action at this time.
0 commit comments