-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
When adding draw.io diagrams into a content tab like this:
=== "Tab1"

=== "Tab2"

When viewing the diagrams in the web browser, only the diagram on Tab 1 loads initially.
If I switch to Tab 2, its diagram does not appear unless I reload the page (F5). After reloading, the behavior flips: Tab 2 loads correctly, but switching back to Tab 1 shows nothing until I reload again.
It seems that the diagrams are only rendered on the tab that is visible during page load, and switching tabs does not trigger a re-render.
How can I fix this behavior?
Is there a JavaScript solution that forces the diagram to re-render when switching tabs?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels