Akifyss/obsidian-border

Cursor bug in live preview with long equations

Closed this issue · 2 comments

- $\text{FTIME}(t(n))=\left\{ f \mid f \text{ wird von einer t(n)-zeitbeschränkten DTM berechnet} \right\}$
line x
line y

This content creates some very weird behavior. Maybe just try it out. It's not that simple to describe.

When I am actively editing the file this renders to the following in live preview:
Screenshot_20240228_144534
For all the lines afterwards the cursor is off by a line. When I select line y with my mouse the cursor appears in line x.

When obsidian isn't the active window or I press shift or alt the live preview it switches to this:
image
Which maps the mouse click correctly again. After a single mouse click it switches to the first state though.

I'm sorry, I may not have understood your meaning correctly. I tested it in my own environment and didn't encounter any issues. Could you please test it again in a sandbox environment and provide a video recording?

2

Here is a video. I'll close this issue because I noticed it has nothing to do with borders. I'll open an issue somewhere else. It's very weird. In some cases everything is fine. But it isn't even consistent I think.

bug.mp4