ApplicationSet tile resize handler debounce is a no-op
Author: choejwooCreated Sep 30, 2026Updated Sep 30, 2026
Labelsbugtriage/pending
Checklist:
- I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
- I've included steps to reproduce the bug.
- I've pasted the output of
argocd version.
Describe the bug
In the ApplicationSets tile view, timeoutId is declared inside handleResize, so each event calls clearTimeout(undefined). Resize calculations are delayed individually instead of debounced. Pending timers are also not cancelled on unmount.
To Reproduce
Observe that timeoutId is always undefined and multiple calculation callbacks run about one second later when resizing the browser window repeatedly within one second.
Expected behavior
Calculate once, one second after the last resize event. Cancel pending calculations on unmount.
Screenshots
Logpoints show that timeoutId remains undefined across consecutive resize events.
Version
3.6.0Logs
N/ASource: argoproj/argo-cd