Skip to content

Commit

Permalink
fix(labs): hasConstructed and constructor deprecated, changing tabInd…
Browse files Browse the repository at this point in the history
…ex update in connectedCallback
  • Loading branch information
CarlosEGuerraSilva committed Feb 16, 2024
1 parent a5b8a76 commit fb086bb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions labs/behaviors/focusable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ export function mixinFocusable<T extends MixinBase<LitElement>>(
[externalTabIndex]: number | null = null;
[isUpdatingTabIndex] = false;

// tslint:disable-next-line:no-any
constructor(...args: any[]) {
super(...args);
this[isFocusable] = true;
}

override connectedCallback() {
super.connectedCallback();
this[updateTabIndex]();
Expand Down

0 comments on commit fb086bb

Please sign in to comment.