Mermaid-Chart / issue-tracker

Other
7 stars 1 forks source link

Diagrams from the history or examples are not loaded correctly #30

Closed nirname closed 7 months ago

nirname commented 9 months ago

Describe the bug

I loaded wrong diagram, one with a mistake in it from the history. Immediately after I loaded a correct one from the history, and I still see the error, as if it is wrong.

So there is nothing wrong with the second one, I simply needed to tap enter somewhere in the code, but it was not rendered right after restoring

To Reproduce

Steps to reproduce the behavior:

  1. Create a decent history to choose from
  2. Select wrong version from history
  3. Immediately select correct version from history

Correct diagram is not rendered

Expected behavior

Correct diagram must be rendered right after user presses "restore" button

Screenshots

Desktop

nirname commented 9 months ago

Diagrams from the examples behave in the similar way. If there was an error before the diagram loaded from the examples will not be rendered immediately

pbrolin47 commented 8 months ago

Thank you for the feedback. We will take the issue into consideration when planning future releases

jgreywolf commented 7 months ago

@nirname Can you check and see if this is resolved for you? We have a few bug fixes recently in this area that should have made an impact

nirname commented 7 months ago

Cannot reproduce it anymore