Skip to content

Commit

Permalink
update to use hidden instead of display none
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdholt committed Jun 11, 2024
1 parent 43b8fbe commit 6bf7057
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-components/src/anchor-button/anchor-button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ export class AnchorButton extends FASTElement {
proxy.setAttribute('type', this.type);
}

proxy.style.display = 'none';
proxy.hidden = true;

this.append(proxy);

Expand Down

0 comments on commit 6bf7057

Please sign in to comment.