Skip to content

Commit 2e4003d

Browse files
authored
fix: prevent text selection for new button (#2412)
1 parent bad4586 commit 2e4003d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎packages/button/src/vaadin-button.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class Button extends ActiveMixin(TabindexMixin(FocusMixin(ElementMixin(ThemableM
2323
position: relative;
2424
outline: none;
2525
white-space: nowrap;
26+
-webkit-user-select: none;
27+
-moz-user-select: none;
28+
user-select: none;
2629
}
2730
2831
:host([hidden]) {

0 commit comments

Comments
 (0)