From be4ac7c150bc69a4ef71448821fa721a052a48cf Mon Sep 17 00:00:00 2001 From: Alexey Snigir Date: Wed, 7 Jan 2026 14:47:26 +0100 Subject: [PATCH 1/2] add hidden=True to clientside callbacks --- dash/_callback.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dash/_callback.py b/dash/_callback.py index 9b272895c8..83d96e2946 100644 --- a/dash/_callback.py +++ b/dash/_callback.py @@ -854,6 +854,7 @@ def register_clientside_callback( None, prevent_initial_call, no_output=no_output, + hidden=True, ) # If JS source is explicitly given, create a namespace and function From 28f79b345c5ae37d4ee970ee1971c1b103c116e7 Mon Sep 17 00:00:00 2001 From: Alexey Snigir Date: Thu, 8 Jan 2026 18:15:55 +0100 Subject: [PATCH 2/2] add hidden to clientside callbacks as configurable option --- dash/_callback.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dash/_callback.py b/dash/_callback.py index 83d96e2946..fa41cde51f 100644 --- a/dash/_callback.py +++ b/dash/_callback.py @@ -854,7 +854,7 @@ def register_clientside_callback( None, prevent_initial_call, no_output=no_output, - hidden=True, + hidden=kwargs.get("hidden", False), ) # If JS source is explicitly given, create a namespace and function