We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33c37fb commit d06334eCopy full SHA for d06334e
lib/utils/debounce.html
@@ -52,6 +52,10 @@
52
if (this.isActive()) {
53
this._cancelAsync();
54
this._timer = null;
55
+ // Canceling a debouncer removes its spot from the flush queue,
56
+ // so if a debouncer is manually canceled and re-debounced, it
57
+ // will reset its flush order (this is a very minor difference from 1.x)
58
+ // Re-debouncing via the `debounce` API retains the 1.x FIFO flush order
59
debouncerQueue.delete(this);
60
}
61
0 commit comments