big-AGI
big-AGI copied to clipboard
[BUG] [2.0] Firefox: First Mermaid diagram won't load
Description
When the last selected chat (which gets loaded upon window/browser load/reload) contains a Mermaid diagram, it won't load in Firefox (tested with current stable/130 and nightly/132).
This seems to be a Firefox-only problem/bug, Chrome loads the diagram without problems upon forced refresh.
Screenshots
This shows up in Firefox when the diagram fails upon first load ->
This shows up when switching to a different chat (which also contains a diagram, that works fine) and then switching back to the original first chat with the crash ->
(this means switching between chats does not let the diagram render, the problem persists)
Notes
Everything works fine upon reload in Firefox if the last selected chat does not contain a Mermaid diagram.
The Developer Console does not seem to contain relevant information.
This was tested locally with npm run dev
against the current big-agi-2
branch.
Device and browser
Firefox stable/nightly on M1 Mac