You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Dash 2.9.2, the clientside callbacks defined inline get a random function name which seems to break. Note: the issue solves itslef when refreshing the page, however every first load triggers this issue. Tested in 2.9.1 and this does not happen, it was introduced with the random function names in 2.9.2.
Using a deterministic function name instead solves the issue:
I put md5 on the function code in #2491 which should fix the issue, but uncovered another side effect related to hot-reload and clientside function not being actually reloaded when the code changes.
Environment
Describe the bug
In Dash 2.9.2, the clientside callbacks defined inline get a random function name which seems to break. Note: the issue solves itslef when refreshing the page, however every first load triggers this issue. Tested in 2.9.1 and this does not happen, it was introduced with the random function names in 2.9.2.
Using a deterministic function name instead solves the issue:
Expected behavior
The clientside_callbacks defined inline should work from the first load.
Screenshots
The text was updated successfully, but these errors were encountered: