MacDownApp / MacDownApp/macdown

Keep the right pane fixed when refreshing

Open
#241 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rich Text Format
Stars
9.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

As mentioned in this issue
https://github.com/uranusjr/macdown/issues/21#issuecomment-68756922

If the markdown and rendered panes failed in sync because of images/large headings, it takes a lot of scrolling to find the newly rendered content ofter every refreshing (since the right pane will automatically scroll to the top).

Thus I suggest providing an option to keep the right pane "fixed"(find out the first visible element and keep it's position fixed), especially when the preview is in auto-update mode.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the linked issue and comment first to understand the existing pane-sync problem and the proposed fixed-position behavior. Then trace the refresh and preview-scrolling flow in MacDown, and consider the work complete when auto-updating preserves the first visible rendered element's position without forcing the right pane to the top.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, objective-c
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.