Closed dontry closed 9 months ago
This PR fixes two issues of zenuml diagrams on mermaid
Reason: Delay in rendering result Solution: Introduce isInitialRender to ensure rendering result is returned in initial render
Reason: Blurry mask always displayed due to top margin Solution: Update predicate to prevent mask from showing at diagram edge or container edge
We need to bump the "@mermaid-js/mermaid-zenuml" once this PR is merged.
This PR fixes two issues of zenuml diagrams on mermaid
Issue 1: Blank screen
Reason: Delay in rendering result Solution: Introduce isInitialRender to ensure rendering result is returned in initial render
Issue 2: Blurry mask on top of diagram
Reason: Blurry mask always displayed due to top margin Solution: Update predicate to prevent mask from showing at diagram edge or container edge
We need to bump the "@mermaid-js/mermaid-zenuml" once this PR is merged.