if frontend related, tell us your Browser, Version and OS
OS: MacOS 12.6
Browser: Chrome and Firefox
Version 106
Describe the bug
While working on a feature for the docs, I created a container called dropdown-container with a dropdown and this container is visible on only some pages. On pages where it isn't visible, the callback updates the style to style={'display': 'none'}.
After going to a number of pages in a row (about 10) that don't display the container, the container can no longer be found. It throws an error:
A nonexistent object was used in an `Output` of a Dash callback. The id of this object is `dropdown-container` and the property is `style`.
It does however exist in the DOM.
And exists in the layout: store.getState().layout
It doesn't exist in the paths though: store.getState().paths
Describe your context Please provide us your environment, so we can easily reproduce the issue.
pip list | grep dash
belowif frontend related, tell us your Browser, Version and OS
Describe the bug
While working on a feature for the docs, I created a container called
dropdown-container
with a dropdown and this container is visible on only some pages. On pages where it isn't visible, the callback updates the style tostyle={'display': 'none'}
.After going to a number of pages in a row (about 10) that don't display the container, the container can no longer be found. It throws an error:
A nonexistent object was used in an `Output` of a Dash callback. The id of this object is `dropdown-container` and the property is `style`.
It does however exist in the DOM. And exists in the layout:
store.getState().layout
It doesn't exist in the paths though:store.getState().paths
Steps to reproduce:
python index.py
/dash-enterprise/redis-database
After clicking on around 10 different pages, the error is displayed:
Expected behavior
That it would be able to find the
dropdown-container
, and not throw an error.@alexcjohnson