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

Editor syncs chart unnecessarily after panning on large charts #90

Open
IanDonn95 opened this issue Sep 3, 2024 · 0 comments
Open

Editor syncs chart unnecessarily after panning on large charts #90

IanDonn95 opened this issue Sep 3, 2024 · 0 comments

Comments

@IanDonn95
Copy link

Describe the bug
Whenever the chart window is panned (right-click and drag without adjusting any nodes or connections), the editor pops up a modal saying "The diagram is out of sync. It will be updated automatically". However, as now changes have been made, the sync is not necessary and is just an annoying popup.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new mermaid chart
  2. Remove all the default "tutorial" nodes
  3. Add around 50 disconnected nodes (sufficient complexity to reliably trigger the modal after each scroll for me)
  4. Pan the editor
  5. See the Syncing modal appear on screen for about a second

Expected behavior
Panning should not cause the sync modal to appear or even have any need to check for updates at all. When panning a small chart, no Sync modal message appears.

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome v128.0.6613.85
  • Version: not sure, whatever was live at https://www.mermaidchart.com/app/projects/<project-id>/diagrams/<diagram-id>/version/<diagram-version?>/edit on 9/3/24

Additional context
I experience this consistently on my main diagram with ~150 nodes and even more connections than that.

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

No branches or pull requests

1 participant