Closed glebsam closed 2 years ago
Discussed with @knsv, fix needs to be in core mermaid code.
GitGrapgh is based on a new rendering engine released that does not have this issue. Closing as this issue is obsolete.
EDIT/UPDATE: Clearing site data in chrome://settings/content/siteDetails?site=https%3A%2F%2Fmermaid.live corrects the problem ...so far.
I'm here because https://mermaid.live/ hangs chrome and I can no longer use the editor. I was editing a small Gantt chart. and the text editor froze. Since then opening the URL above causes Chrome Version 127.0.6533.119 (Official Build) (64-bit) to freeze and the computer fan to blast off.
@AndrewBarfield can you please share the chart you were using? It's usually edge conditions that trigger issues like this. So it'll help us fix the underlying bug.
You can share privately to security@mermaid.live as well.
It was a Gantt diagram like this:
gantt
dateFormat HH:mm
axisFormat %H:%M
tickInterval 1hour
section Automation
Vacuum Den :00:00, 45m
Mop Kitchen :03:00, 30m
section Diet
Lemon Water :06:00, 5m
section Leisure
Sleep :00:00, 6h
Sleep :20:00, 4h
section Wellness
Walk 2 miles :06:30, 30m
That diagram doesn't break the site, though. Maybe it was a typo that triggered the issue?
Describe the bug Browser page hangs in live editor after changing Git branch name in Git Graph. Reproduces with both locally-deployed editor and https://mermaid.live/ After the hang the editor can be opened only in Incognito window.
To Reproduce Link to Live Editor:
Steps to reproduce the behavior:
Expected behavior Branch name changed, changes can be seen on the rendered graph
Screenshots
Watch the video:
Desktop (please complete the following information):
Additional context
I think the issue is on the frontend part, because: