Skip to content

Conversation

@personalizedrefrigerator
Copy link
Collaborator

@personalizedrefrigerator personalizedrefrigerator commented Oct 31, 2025

Summary

This pull request restores the last scroll position when switching between the Markdown and Rich Text Editors. Previously, this scroll position was only restored when switching notes.

Fixes #13586.

Screen recording

Screencast.from.2025-10-31.08-52-40.webm

The above screen recording shows:

  • Switching between notes with the Rich Text Editor enabled. The scroll position for each note is restored.
  • Opening a longer note and scrolling to the end, then switching editors. In both, the note is initially scrolled to the end of the document.
  • Scrolling to the top of a note in the Markdown editor, then switching to the Rich Text Editor. The Rich Text Editor is initially scrolled to the top of the document.

@personalizedrefrigerator personalizedrefrigerator changed the title Desktop: Resolve #13586: Preserve scroll when switching between Markdown and Rich Text Editors Desktop: Resolves #13586: Preserve scroll when switching between Markdown and Rich Text Editors Oct 31, 2025
@vampyren
Copy link

vampyren commented Nov 1, 2025

Awesome! This has made me putt my hair a few times on long pages 👯

@laurent22 laurent22 merged commit cc9517f into laurent22:dev Nov 3, 2025
11 checks passed
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

Successfully merging this pull request may close these issues.

Desktop: Scroll resets when switching editors

3 participants