big-AGI icon indicating copy to clipboard operation
big-AGI copied to clipboard

[BUG] [2.0] Firefox: First Mermaid diagram won't load

Open fry69 opened this issue 5 months ago • 0 comments

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 -> grafik

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 -> grafik (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

fry69 avatar Sep 21 '24 09:09 fry69