marktext / marktext/marktext

Possible avoid page scroll when clicking in editor?

Open
#2,934 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🔭 area/editor 🦋 optimization
Dominant language
TypeScript
Stars
61.6k
Forks
4.6k
Avg merge
23h 49m
Merged PRs (30d)
89

Description

Editor jumps around on click

Is there an option to avoid the page scroll that makes the cursor jump to 1/3 of the page when you click anywhere? It would make the experience smoother.
I'm on Windows 10.

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

No files or tests are named in the issue. First reproduce the editor click behavior on Windows 10 and trace the editor's scroll handling; done means clicking in the editor no longer moves the page or places the cursor unexpectedly, while normal cursor movement still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 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.