day8 / re-com

A ClojureScript library of reusable components for Reagent
https://re-com.day8.com.au
MIT License
797 stars 147 forks source link

Single-dropdown: When you select an option, after the dropdown is hidden, if there is text under the cursor, text is selected up to the cursor. #124

Closed UrKr closed 7 years ago

UrKr commented 7 years ago

EDIT: It seems that the text is selected from from somewhere to the cursor position at click

The single dropdown selects/highlights (not sure what you call it) some text around the widget when a choice in the dropdown is clicked.

Likes so:

http://re-demo.s3-website-ap-southeast-2.amazonaws.com/#/dropdown

image

Then, when I select a different choice ('Dropdown with grouping') some text bellow the text gets selected.

image

UrKr commented 7 years ago

I was able to reproduce it multiple times yesterday, but can't today. Looks like it was something on my end.

Gregg8 commented 7 years ago

I couldn't get it to select text from just clicking an option.

However, if you click the option, keep the mouse down and start moving, it will select, although I think you were experiencing this without all these extras.

Closing for now, but if you can demonstrate how to reproduce, we'll be happy to look into it.