Skip to content

Commit 7ba9b95

Browse files
committed
user-select text support, closes #41246
1 parent 3e61b29 commit 7ba9b95

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

scss/_utilities.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ $utilities: map.merge(
863863
// scss-docs-start utils-interaction
864864
"user-select": (
865865
property: user-select,
866-
values: all auto none
866+
values: all auto text none
867867
),
868868
"pointer-events": (
869869
property: pointer-events,

site/src/content/docs/utilities/interactions.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Change the way in which the content is selected when the user interacts with it.
1313

1414
<Example code={`<p class="user-select-all">This paragraph will be entirely selected when clicked by the user.</p>
1515
<p class="user-select-auto">This paragraph has default select behavior.</p>
16+
<p class="user-select-text">This paragraph has text select behavior.</p>
1617
<p class="user-select-none">This paragraph will not be selectable when clicked by the user.</p>`} />
1718

1819
## Pointer events

0 commit comments

Comments
 (0)