Closed benalleng closed 5 months ago
Describe the bug When choosing a select option the cursor behaves as though it is being held and begins to highlight text around the select.root
Functions normally in Chrome
To Reproduce
A quick sandbox showing the behavior
https://codesandbox.io/p/sandbox/sad-water-z2rkg4?file=/src/App.tsx:21,25
Expected behavior Focus should remain on the select trigger and the cursor should not highlight other text
You can add user-select: none; to the select item, such as in https://kobalte.dev/docs/core/components/select#controlled-value.
user-select: none;
Works! thanks!
Describe the bug When choosing a select option the cursor behaves as though it is being held and begins to highlight text around the select.root
Functions normally in Chrome
To Reproduce
A quick sandbox showing the behavior
https://codesandbox.io/p/sandbox/sad-water-z2rkg4?file=/src/App.tsx:21,25
Expected behavior Focus should remain on the select trigger and the cursor should not highlight other text