You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greatly simplified from a large application using observables to fetch filtered data from an API.
I've mocked the API response with a random timeout. The behavior of the input is very similar to what I get in the app.
When the responses come in, the input loses a 1 or 2 letters if you're typing.
If I drop the v-debounce or the .lazy modifier, input works fine but there's no debounce.
Is there a fix for this or do I have to use a different debounce wrapper (i.e: lodash) inside the watcher and dump v-debounce altogether?
Thank you.
Note: I also created the v-debounce tag on StackOverflow.
The text was updated successfully, but these errors were encountered:
Please consider the following example:
https://codesandbox.io/s/vdebounce-input-override-ej4nz
Greatly simplified from a large application using observables to fetch filtered data from an API.
I've mocked the API response with a random timeout. The behavior of the input is very similar to what I get in the app.
When the responses come in, the input loses a 1 or 2 letters if you're typing.
If I drop the
v-debounce
or the.lazy
modifier, input works fine but there's no debounce.Is there a fix for this or do I have to use a different
debounce
wrapper (i.e:lodash
) inside the watcher and dumpv-debounce
altogether?Thank you.
Note: I also created the v-debounce tag on StackOverflow.
The text was updated successfully, but these errors were encountered: