plotly / dash-cytoscape

Interactive network visualization in Python and Dash, powered by Cytoscape.js
https://dash.plot.ly/cytoscape
MIT License
605 stars 120 forks source link

[BUG] Component disappears after moving between tabs #221

Open ezwc opened 3 months ago

ezwc commented 3 months ago

Description

I have a dbc.Tabs with 3 tabs. Inside one of the tabs I generated a cytoscape element.

When I move to some other tab and then return to the one with the cytoscape, it is empty (all white). Clicking, scrolling, panning, etc doesn't help. All other elements in both tabs remain as they are when switching tabs back and forth (plotly charts, images, tables, small html elements, etc.)

Versions

Dash 2.17.1 Dash Cytoscape 1.0.1