nkbt / react-debounce-input

React component that renders Input with debounced onChange
MIT License
450 stars 61 forks source link

DebounceInput stops working after changing Autocomplete value #153

Open Aniga10 opened 2 years ago

Aniga10 commented 2 years ago

DebounceInput works fine when I change the value of the input elements (which are using DebounceInput). But when I change the value of a Material UI Autocomplete component that also uses an input element, the other plain text inputs no longer get the debouncing effect (typing becomes slow again).

I tried using DebounceInput inside the Autocomplete, but that doesn't solve the issue. Could you please help?

nkbt commented 2 years ago

Please create a reproducible issue in codepen or any other online sandbox, otherwise I cannot see what is going on there, test, experiment and find the cause