Mode Switch Scroll Fix

by Code-Sub
5
4
3
2
1
Score: 50/100

Description

옵시디언 모드 변경시 스크롤 튀는 버그 픽스

Reviews

No reviews yet.

Stats

0
stars
337
downloads
0
forks
29
days
16
days
16
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
7
commits

Latest Version

17 days ago

Changelog

fix: reduce scroll offset errors on mode switch without tables

README file from

Github

Mode Switch Scroll Fix for Obsidian

A lightweight Quality-of-Life (QoL) plugin that seamlessly preserves your exact scroll position when toggling between Editing View and Reading View (Ctrl + E).

❓ The Problem

In long documents or notes containing large tables, callouts, and code blocks, toggling views often causes the scroll position to jump unexpectedly to the top of the note or table.

✨ How it works

This plugin intercepts the mode switch event and triggers a microscopic, invisible DOM scroll refresh. This forces Obsidian and CodeMirror's virtual viewport caches to stay perfectly in sync without any visual jitter.

🚀 Installation

  • BRAT: Add beta plugin using repository URL https://github.com/Code-Sub/obsidian-mode-switch-scroll-fix
  • Manual: Download main.js and manifest.json from the latest Release into your vault's .obsidian/plugins/mode-switch-scroll-fix/ folder.