fix: clear filter debouncer on connector reset#8563
Conversation
|
|
Hi @sissbruecker and @sissbruecker, when i performed cherry-pick to this commit to 24.10, i have encountered the following issue. Can you take a look and pick it manually? |
|
Hi @sissbruecker and @sissbruecker, when i performed cherry-pick to this commit to 25.0, i have encountered the following issue. Can you take a look and pick it manually? |
|
Hi @sissbruecker and @sissbruecker, when i performed cherry-pick to this commit to 24.9, i have encountered the following issue. Can you take a look and pick it manually? |
) (#8580) Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>
) (#8581) Co-authored-by: Sascha Ißbrücker <sissbruecker@vaadin.com>



Description
Currently a combo box can get stuck in a loading state if it is closed right after a filter change. The flow is something like:
connector.resetcomboBox.clearCache_forceNextRequestflag internally_forceNextRequestcauses cached data to be ignoredThis fix changes
connector.resetso that is also cancels any debounced requests, so that the connector will not attempt to load data after a reset and while the component is closed.Fixes #8235
Type of change