react-range icon indicating copy to clipboard operation
react-range copied to clipboard

Feature Request: Input boxes

Open iamterryclark opened this issue 5 years ago • 2 comments

I wondered if there might be a way to add custom input boxes to the thumbs of react range? could this be added to the renderthumb? Is there a way already coded in to include any mouse interactions double clicks for instance? I see an isDragged do we also get isDoubleClicked? I would like to link these two things togther

iamterryclark avatar Oct 30 '20 17:10 iamterryclark

Can you describe it more / provide some mock ups? Not sure what you are trying to do.

Ad double clicking: You have access to all underlying events / handlers, so you can detect whatever you want on any element you want. react-range just gives props you have to spread through but nothing prohibits you to add additional handlers.

tajo avatar Oct 30 '20 17:10 tajo

Thanks for getting back

What I am thinking of is to simply double click on one of the thumbs and enter a number on the keypad to set the number.

iamterryclark avatar Oct 30 '20 18:10 iamterryclark