JedWatson / react-input-autosize

Auto-resizing input field for React
https://jedwatson.github.io/react-input-autosize
MIT License
769 stars 178 forks source link

Create onTextSelect callback plz #113

Closed AndreyMiloserdov closed 6 years ago

AndreyMiloserdov commented 7 years ago

Sometimes it's very need to do something on text select. At this moment needs to get ref on node, find input and add event listener

JedWatson commented 6 years ago

We don't remove additional props, they're passed onto the <input> element so you should be able to add the event listener the same way you would on a normal input in React.