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

draw: Scrolling in Logseq desyncs Excalidraw canvas #3414

Closed
abhinav opened this issue Dec 10, 2021 · 0 comments · Fixed by #6866
Closed

draw: Scrolling in Logseq desyncs Excalidraw canvas #3414

abhinav opened this issue Dec 10, 2021 · 0 comments · Fixed by #6866
Labels
can-be-reproduced draw Excalidraw :type/bug Something isn't working. Affects daily use.

Comments

@abhinav
Copy link

abhinav commented Dec 10, 2021

Describe the bug
If you use /draw to get an Excalidraw canvas and then scroll in Logseq outside the canvas,
attempts to draw inside the Excalidraw are offset by how much you've scrolled.

To Reproduce
Steps to reproduce the behavior:

  1. Start a new drawing with /draw
  2. Press Esc to get an Excalidraw canvas
  3. Move your mouse outside the canvas and scroll down
  4. Move your mouse back to the canvas and attempt to click or use any tool

Expected behavior
Draws/selects/clicks in general should happen under the cursor.

Actual behavior
Clicks are offset by the amount of scroll.

Screenshots
draw-scroll-sync

Desktop:

  • OS: macOS
  • Browser: Chrome (although I'm using the Logseq desktop app)
  • Version: Logseq desktop 0.5.1 and 0.5.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
can-be-reproduced draw Excalidraw :type/bug Something isn't working. Affects daily use.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants