Skip to content
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

Fix clientside no outputs #2867

Merged
merged 3 commits into from
May 27, 2024
Merged

Fix clientside no outputs #2867

merged 3 commits into from
May 27, 2024

Conversation

T4rk1n
Copy link
Contributor

@T4rk1n T4rk1n commented May 23, 2024

Fix #2866

@@ -188,3 +196,39 @@ def on_click(_):
dash_duo.wait_for_style_to_equal(
"#output", "background-color", "rgba(255, 0, 0, 1)"
)


def test_arb007_clientside_no_output(dash_duo):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@T4rk1n just a sanity check here since I'm not deeply familiar with the Dash tests -- this test fails without your fix, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes it generates an error and the clientside function is not called.

Copy link
Contributor

@emilykl emilykl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@T4rk1n T4rk1n merged commit 4a9f09a into dev May 27, 2024
3 checks passed
@T4rk1n T4rk1n deleted the fix/clientside_no_output branch May 27, 2024 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] No output callbacks with clientside_callback
2 participants