Allow the browser to focus the actions menu entries on tab so 'Enter'
action will not inadvertantly fire the row activate handler as well.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
<button class="dropdown-item scrollable-menu"
[disabled]="shouldDisable(action)"
- (click)="performAction(action)"
- *ngFor="let action of gridContext.toolbarActions">
+ (click)="performAction(action)" tabindex="0"
+ *ngFor="let action of gridContext.toolbarActions; let idx = index">
<ng-container *ngIf="action.isGroup">
<span class="font-weight-bold font-italic">{{action.label}}</span>
</ng-container>