Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mermaid not reloading on subsequent previews #61

Open
ajmichels opened this issue Dec 22, 2020 · 1 comment
Open

Mermaid not reloading on subsequent previews #61

ajmichels opened this issue Dec 22, 2020 · 1 comment
Labels

Comments

@ajmichels
Copy link

ajmichels commented Dec 22, 2020

Setup and configuration

  • Mermaid version: 8.5.0
  • mediawiki/mermaid version: 3.0.0
  • MediaWiki version: 1.35
  • PHP version: 7.4
  • Database system (MySQL, PostgresQL, etc.) and version: MySQL 5.6

Issue

I am finding that on the first preview Mermaid loads correctly. But if I tweak my data and preview again I just get three animated dots and the diagram never displays, even if I made no changes. I am not seeing any errors showing in the developer tools console or in PHP logs.

My guess is that since the subsequent preview action is an Ajax one Mermaid is not being reinitialized correctly.

@kghbln kghbln added the bug label Jan 4, 2021
@kghbln
Copy link
Member

kghbln commented Jan 4, 2021

Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants