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
Div(as callback Output) within tab1 cannot be updated by dropdown in the same tab after dropdown option change - > tab switching back.
Expected behavior
I noticed this problem when updating from dash1.6.1 to dash1.7.0. As shown on the gif below, a callback is fired from dropdown selection within first tab to update the control sections on the right. This section doesn't render for me for dash1.7.0 when I : 1) Click on tab1 2) change dropdown value to a different one 3) Navigate to tab2 then Navigate back to tab1.
I've tried to simplify the output to an individual html.Div("update time" + str(time.time())), and still behaves the same. My callback is fired as usual upon tab navigation/dropdown-toggling. Looking into dev-tool has indicated that the dash_update_component has been sent back to front-end, so I wonder it could simply be a render-related issue.
The text was updated successfully, but these errors were encountered:
This looks similar to several of the bugs that are fixed in #1103 - @ycaokris would you be able to try it off that branch? You have to rebuild the renderer after pulling the branch down.
App related: https://github.com/plotly/dash-sample-apps/tree/master/apps/dash-manufacture-spc-dashboard
Callback related: https://github.com/plotly/dash-sample-apps/blob/854b8df105e24b04f6b3f9124c016f1e01b23691/apps/dash-manufacture-spc-dashboard/app.py#L943-L993
pip list | grep dash
belowif frontend related, tell us your Browser, Version and OS
Describe the bug
Div(as callback Output) within tab1 cannot be updated by dropdown in the same tab after dropdown option change - > tab switching back.
Expected behavior
I noticed this problem when updating from dash1.6.1 to dash1.7.0. As shown on the gif below, a callback is fired from dropdown selection within first tab to update the control sections on the right. This section doesn't render for me for dash1.7.0 when I : 1) Click on tab1 2) change dropdown value to a different one 3) Navigate to tab2 then Navigate back to tab1.
I've tried to simplify the output to an individual
html.Div("update time" + str(time.time())),
and still behaves the same. My callback is fired as usual upon tab navigation/dropdown-toggling. Looking into dev-tool has indicated that the dash_update_component has been sent back to front-end, so I wonder it could simply be a render-related issue.The text was updated successfully, but these errors were encountered: