react-draggable: allow text selection inside <Draggable/> component

Viewed 242

I am writing a React app in which some text will be displayed inside a draggable container. When the user clicks inside the container, but outside of the text, I want them to be able to drag the element around. When they click on the text, I want them to be able to do text selection and manipulation.

Right now, I am using react-draggable with the <Draggable /> component. Is there any way to make this work? If not, is there an easy solution involving another library?

0 Answers
Related