obsidian-things icon indicating copy to clipboard operation
obsidian-things copied to clipboard

Scroll to top issue with long documents in Preview mode

Open KingOfSpades opened this issue 3 years ago • 1 comments

Hey Hey,

Love the theme! Great effort. I noticed this theme seems to have the issue described over at: https://forum.obsidian.md/t/triggering-preview-mode-in-long-docs-causes-preview-to-scroll-to-top-of-document-in-certain-cases/13663/

When editing a long file (around 200 lines) and switching to preview the editor scrolls almost all the way to the top. When returning to edit mode the position is correct again. This is not strange since this theme has been based on the Minimal Theme and the same problem is being described in the thread https://forum.obsidian.md/t/triggering-preview-mode-in-long-docs-causes-preview-to-scroll-to-top-of-document-in-certain-cases/13663/2

Are more people experiencing this problem?

KingOfSpades avatar Dec 04 '21 15:12 KingOfSpades

Hey Hey,

Love the theme! Great effort. I noticed this theme seems to have the issue described over at: https://forum.obsidian.md/t/triggering-preview-mode-in-long-docs-causes-preview-to-scroll-to-top-of-document-in-certain-cases/13663/

When editing a long file (around 200 lines) and switching to preview the editor scrolls almost all the way to the top. When returning to edit mode the position is correct again. This is not strange since this theme has been based on the Minimal Theme and the same problem is being described in the thread https://forum.obsidian.md/t/triggering-preview-mode-in-long-docs-causes-preview-to-scroll-to-top-of-document-in-certain-cases/13663/2

Are more people experiencing this problem?

Yes, I'm confused with the problem now. I have tried every given methods in the given link above but gain no effort.

DaqiHu avatar Dec 19 '21 01:12 DaqiHu

hey, closing this issue as it has been resolved with Obsidian v1. thanks!

colineckert avatar Mar 10 '23 18:03 colineckert