-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] A callback gets triggered without a corresponding event #2452
Comments
I think it's likely a duplicate of issue #2428 |
I have just tested it in Dash 2.9.2, and the bug is still present. It appeared in Dash 2.7.1. Downgrading to 2.7.0 resolves the issue. |
@sergiykhan No, seems like I fixed the inputs but Output behave strangely when callbacks share the same dropdown/checklist as Output. #2487 is still open and contains some more info, so maybe add a link to this example. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Software
Describe the bug
The
value
of the dropdown menu gets reset by a callback function that is only supposed to be triggered by an independent button in the interface. As you can see from the video recording below, typing in the drop-down menu triggers the button pressed event. There is no apparent connection between the two.The Callback Graph is also recorded in the video below, showing the callback is called while no button is pressed.
Expected behavior
The callback
on_button
(see code below) should only be triggered when the button is actually pressed.Console output
Video
screen-capture.mp4
Sample code
The text was updated successfully, but these errors were encountered: