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

In split view, editor and preview views do not scroll in sync #95

Open
guillerodriguez opened this issue Jan 27, 2022 · 5 comments
Open
Labels
bug Something isn't working

Comments

@guillerodriguez
Copy link

The preview and editor views do not scroll in sync; if you scroll any of the two views, the other view will also scroll, but not at the same pace or not to the same location, which sort of defeats the purpose of the split view.

This is Panwriter 0.8.2 on macOS / M1.

@mb21 mb21 added the bug Something isn't working label Jan 27, 2022
@Skeeve
Copy link
Contributor

Skeeve commented Feb 14, 2023

Still present in 0.8.5

I'm using

  • Mac OS 13.1
  • pandoc 3.1
  • panWriter 0.8.5

@Silther
Copy link

Silther commented Nov 5, 2023

the same in windows

@Angroid
Copy link

Angroid commented Jan 11, 2024

Same issue (Windows), still present in 0.8.6. First time using the software, first launch. It also happens to be a freshly installed new PC.

@micha06de
Copy link

For me, version 0.8.6 on Windows it is even worse, the windows are not only not synchronised, if I am in the preview window somewhere in the document and scroll in the Markdown window (no matter in which direction) the document in the preview window jumps to the top of the document.

Is there a workaround (I don't think it was always like this).

@mb21
Copy link
Owner

mb21 commented Jul 25, 2024

Yeah, on some documents I can reproduce it. I'm pretty sure it used to work a lot better, probably broke in some Electron (i.e. Chromium) upgrade. Anyway, the code is somewhat finicky and to be frank, I've been putting this off thinking we should upgrade to CodeMirror 6 first. If anybody would like to start working on that, pull requests welcome!

Edit: I started work on a codemirror6 branch.

@mb21 mb21 mentioned this issue Aug 15, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants