Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Input boxes #103

Open
iamterryclark opened this issue Oct 30, 2020 · 2 comments
Open

Feature Request: Input boxes #103

iamterryclark opened this issue Oct 30, 2020 · 2 comments

Comments

@iamterryclark
Copy link

iamterryclark commented Oct 30, 2020

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

@tajo
Copy link
Owner

tajo commented Oct 30, 2020

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.

@iamterryclark
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants