-
Notifications
You must be signed in to change notification settings - Fork 61
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
Optional immediate, non-debounced onChange callback #55
Comments
Interesting suggestion. I don't think you can do this now without code modifications. Are you keen to PR? I believe it would be nice addition. |
I was thinking of making this possibly more useful with an "onDebounceStart", so it only fires once when the debounce timeout starts, rather than every time the input changes. I can see value in both this and an "immediateOnChange" event, however I'm not in love with that name. Maybe "onEveryChange"? |
|
@flux627 Did you ever making this happen in any branch or PR by any chance? |
Never did, no. |
We were able to accomplish this by wrapping an input component and directly invoking the |
It would be nice to trigger loading indicators as soon as they start typing, to have the user feel like it's doing something, without the lag of the debounce. It could be called "immediateOnChange".
Any suggestions on how to do this without any modifications to react-debounce-input would also be appreciated
The text was updated successfully, but these errors were encountered: