Skip to content

Scroll jumps while typing in the Markdown editor #12105

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

Closed
personalizedrefrigerator opened this issue Apr 14, 2025 · 2 comments · Fixed by #12118
Closed

Scroll jumps while typing in the Markdown editor #12105

personalizedrefrigerator opened this issue Apr 14, 2025 · 2 comments · Fixed by #12118
Assignees
Labels
bug It's a bug desktop All desktop platforms high High priority issues v3.3

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Linux

Joplin version

3.3.4

Desktop version info

Joplin 3.3.4 (dev, linux)

Device: linux, x64
Client ID: abefb33666254d30a7b54ad4b6997643
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes
Alternative instance ID: -

Revision: ba95580 (pr/desktop/rte-strict-csp)

Freehand Drawing: 3.0.0

Current behaviour

To reproduce:

  1. Type in the Markdown editor
  2. Pause

At present, this causes the Markdown editor's scroll position to jump.

The below screen recording demonstrates typing in the note editor causing scroll to change:

Screencast.from.2025-04-14.14-56-31.webm

Expected behaviour

The Markdown editor's scroll position should not change while editing.

Logs

No response

@personalizedrefrigerator personalizedrefrigerator added the bug It's a bug label Apr 14, 2025
@personalizedrefrigerator
Copy link
Collaborator Author

personalizedrefrigerator commented Apr 14, 2025

Possibly related: #12038

Edit: Reverting #12038 seems to fix the scroll jumping issue.

@executed
Copy link
Contributor

executed commented Apr 15, 2025

@personalizedrefrigerator
Do you have "Rich Markdown" plugin installed? (Ah, nevermind, I see it's not in your list - you're hardcode man that's for sure!).

I'm noticing exactly same scroll issues, but only when typing text near images placed by Rich Markdown plugin inside the editor.
When I disabled all plugins except "Rich Markdown" - issue was still reproducible.
Then disabled "Rich Markdown" - issue is gone.

Also tried enabling Freehand Drawing plugin - saw minor scroll fluctuations every time I stopped typing. After I disabled the plugin (0 plugins installed now) scroll fluctuations became barely noticable.

And eventually I've turned "Rich Markdown" back on again - and I cannot reproduce the issue at all.

So even though I feel it only happens near editor inserted images, it's hard to reproduce sometimes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms high High priority issues v3.3
Projects
None yet
3 participants