Skip to content

Allow scrolling down even if no contents below - #3405

Merged
Jocs merged 2 commits into
marktext:developfrom
szdytom:develop
May 18, 2026
Merged

Jocs merged 2 commits into
marktext:developfrom
szdytom:develop

Conversation

@szdytom

@szdytom szdytom commented Aug 17, 2022 •

Copy link
Copy Markdown
Contributor
Q A
Bug fix? no
New feature? yes
Breaking changes? no
Deprecations? no
New tests added? not needed
Fixed tickets Issue #3244
License MIT

Description

This pull request adds a padding of one screen height at the bottom of editor container. This allows users to scoll down even if no contents below, so we don't need to fix our eyes on the very bottom of the screen when adding new lines. Many editors, such as VS Code or Sublime Text, already have this feature, so I belive it is nessery to add it.

add a padding of 1 screen height at the buttom of editor container.
@Jocs

Jocs commented May 15, 2026

Copy link
Copy Markdown
Member

This project recently merged a large refactor (electron-vite migration, PR #4001) that upgraded dependencies and fixed several issues.

Please review this PR and let us know if it is still needed, or if the changes have already been addressed upstream.

@Jocs
Jocs merged commit b27d682 into marktext:develop May 18, 2026
thimbleberrysystems pushed a commit to thimbleberrysystems/WordBird that referenced this pull request Jun 21, 2026
* Add padding at the buttom of editor

add a padding of 1 screen height at the buttom of editor container.

* fix buttom->bottom
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.

3 participants