diff --git a/.changeset/tiny-eyes-burn.md b/.changeset/tiny-eyes-burn.md new file mode 100644 index 000000000..ccfd10e6e --- /dev/null +++ b/.changeset/tiny-eyes-burn.md @@ -0,0 +1,5 @@ +--- +'@lion/button': patch +--- + +Set user-select to none on button, so that the inner text is not selectable. diff --git a/packages/button/src/LionButton.js b/packages/button/src/LionButton.js index ab5526669..4482ba5f0 100644 --- a/packages/button/src/LionButton.js +++ b/packages/button/src/LionButton.js @@ -61,6 +61,7 @@ export class LionButton extends DisabledWithTabIndexMixin(SlotMixin(LitElement)) padding: 8px; /* padding to fix with min-height */ outline: none; /* focus style handled below */ cursor: default; /* /* we should always see the default arrow, never a caret */ + user-select: none; } :host::before {