Closed jonjamz closed 9 years ago
Sometimes when doing rapid validation (on keyup with fast typing) an input element will have minor glitches.
keyup
Throttling the calls to the event handler by 300ms fixes the problem.
Could have a custom throttle time, too.
Will revisit custom throttling/debouncing at a later time as the use case arises.
Sometimes when doing rapid validation (on
keyup
with fast typing) an input element will have minor glitches.Throttling the calls to the event handler by 300ms fixes the problem.