I have two callbacks in my app, one updates a dropdown’s options every 5 seconds, and the other callback should be fired when I select something in the dropdown but the first callback not only updates options but also triggers the other callback.
I know a callback can trigger another callback when one’s output is the other’s input but in my case, it’s not. Why ‘refresh_product_options’ triggers ‘get_product_SKUs’?
I tried installing an old dash version to see if that’s the case and yes it’s a bug, but it seems this bug stayed here for a while. This behavior does happen after dash version 2.8.0. When I installed 2.7.1 it worked as expected.
Edit: Sorry my bad, Same bug happens in 2.7.1 too. The callback didn’t trigger for another reason in 2.7.1 in my code. It’s a bug about pattern matching.
Thank you for reporting this bug. Can you please open an issue detailing this bug. Being on the Dash repo will help us keep track of it and fix it as soon as possible.
Has a bug report been created? I have the same issue and was told by @AnnMarieW that it was going to be fixed in 2.9.3, but I don’t see any link to this in github.
hi @jokin
We are aware of this bug. Not all cases related to this bug have been fixed, but we are working on it. Ideally, we’ll be able to fix it fully soon.