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
{{ message }}
Repository navigation
Component Div inside tab cannot render when upgrading from dash 1.6.1 to 1.7.0 #1146
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.
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.
Activity
alexcjohnson commentedon Mar 6, 2020
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.
ycaokris commentedon Mar 6, 2020
@alexcjohnson It worked with this rebuild 👍 and I don't see this issue happening. Here's dev env:
alexcjohnson commentedon Mar 6, 2020
Great! Thanks for testing it. I'll mark the PR as closing this issue.