Only one Mermaid diagram at the time (0.43.21-beta)

What’s The Bug?

After fixing the text display issue in Mermaid diagrams, I now only see one Mermaid diagram in a page.

How To Reproduce It

  1. Add a first Mermaid diagram
  2. Add a second Mermaid diagram below it
  • The first diagram disappears from view
  • Clicking the empty space reveals the Mermaid code is still present
  • Adding any character (even a space) makes the first diagram reappear
  • However, when the first diagram reappears, the second diagram vanishes

Image or Video

The Expected Behavior

Both Mermaid diagrams should remain visible simultaneously.

Device

Macbook Pro M1 Max

OS

Sequoia 15.1.1

Anytype Version

0.43.21-beta

Network Mode

AnySync

Technical Information

OS-versjon: darwin arm64 15.1.1
Appversjon: 0.43.21-beta
Byggnummer: build on 2024-12-03 15:58:31 +0000 UTC at #d71aec49f7c8b7114ce54edb9de9b3e7a3896e7c (dirty)
Bibliotekversjon: v0.38.0
Anytype-identitet: ABFPxg94N2xR9gLNKd5mYfjmsTFdPPoUgEyGnNGZMvNRCCDH
Analyse-ID: acbd714e-3af7-498d-874c-cb7a69981635
Enhets-ID: 12D3KooWQHtFdEqEtXLH5uiNA9xQajTzHkAk3gaKWVqeWa5NZjCv

This report has been added to our issue tracker and received by the Development Team.

Thanks, I was refactoring components so this is why it happened, fixed.

This issue has been fixed by the Development Team and will be implemented in an upcoming release.

I can confirm that it’s now working on 0.43.23-alpha.

Thank you!

You are welcome