Bug Report
- Package version(s): Latest
- Browser and OS versions: All
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes, No) Yes
Requested priority: (Blocking, High, Normal, Low) Normal
Products/sites affected: (if applicable)
Describe the issue:
When calling cancel on a debounced function, future calls to the debounced function are never queued.
This is because timeoutId is not cleared on the cancel call
Bug Report
Priorities and help requested (not applicable if asking question):
Are you willing to submit a PR to fix? (Yes, No) Yes
Requested priority: (Blocking, High, Normal, Low) Normal
Products/sites affected: (if applicable)
Describe the issue:
When calling cancel on a debounced function, future calls to the debounced function are never queued.
This is because timeoutId is not cleared on the cancel call