ckRobinson / multi-column-markdown

A plugin for the Obsidian markdown note application, adding functionality to render markdown documents with multiple columns of text.
GNU General Public License v3.0
284 stars 13 forks source link

View jumping downwards when selecting the cursor below column split #87

Closed jasht1 closed 8 months ago

jasht1 commented 1 year ago

I wanted to start off by thanking @ckRobinson for a much-needed plugin with great usability & documentation. I've seen that this issue has been mentioned in another post but thought it deserved its own issue page. below I will detail my expirence of it on:

Without multicolumn page behaves as expected, view only moving when selecting at top & bottom edge & scrolling as seen here: https://github.com/ckRobinson/multi-column-markdown/assets/44931733/29c1b6fe-cc16-4bde-a5d1-517326d2e7c5 with a multicolumn split: page jumps downward by roughly the height of the split section. This seems to happen when:

with the latest update, i have noticed the behaviour change slightly:

morgan-j-black commented 1 year ago

Same for me 🙂

Obsidian v1.4.8 MCM v0.8.3 Windows 11 Home

Thanks!

eofferma commented 1 year ago

Same here

Obsidian v1.4.13 MCM v0.8.3 Ubuntu 22.04.3 LTS

Thank you!

cday960 commented 11 months ago

I found if you use fenced divs the issue goes away.

My setup went from:

```start-multi-col
number of cols: 2
shadow: false
border: false
--- end-multi-column ````` to ``` ::::: {.columns colcount=2 border=false shadow=false} ::::: ``` This fixed my issue. Hopefully it works for you as well. Obsidian v.1.4.16 Windows 10 Pro
ckRobinson commented 10 months ago

This issue has been fixed in an upcoming release, that I hope to get out soon(tm). The core of this issue is basically a game of tug-of-war MCM is having with Obsidian and as cday960 said, it doesn't happen with pandoc syntax. In order to put the issue to bed there is going to be a syntax update. I tried my absolute hardest to avoid updating the syntax but it was the only way. I have added a command to the upcoming release that will automatically find and update everything for you to make the transition as smooth as possible though.

ckRobinson commented 8 months ago

Hi, version 0.9.0 has been released and has the fix for this, so will be closing this issue. If you see another issue feel free to open another issue and I'll take a look when I get the chance, thanks.