Skip to content

Commit

Permalink
fix(icon-button): delegates focus
Browse files Browse the repository at this point in the history
  • Loading branch information
vdegenne committed Jul 27, 2023
1 parent e11fb5d commit db2010d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions iconbutton/internal/icon-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ export class IconButton extends LitElement {
requestUpdateOnAriaChange(this);
}

/** @nocollapse */
static override shadowRootOptions:
ShadowRootInit = {mode: 'open', delegatesFocus: true};

/**
* Disables the icon button and makes it non-interactive.
*/
Expand Down

0 comments on commit db2010d

Please sign in to comment.