TriliumNext / Notes

Build your personal knowledge base with TriliumNext Notes
https://triliumnext.github.io/Docs/
GNU Affero General Public License v3.0
1.04k stars 59 forks source link

Can't navigate up on Mermaid diagrams code #282

Open hasecilu opened 3 months ago

hasecilu commented 3 months ago

TriliumNext Version

0.90.2-beta

What operating system are you using?

Other Linux

What is your setup?

Server access only

Operating System Version

Debian Server 12.6

Description

When navigating on "long" Mermaid diagrams' code when I try to move up with Up key, Ctrl + Start shortcut or Page Up key the blinking cursor moves up but the code is not scrolled, so I'm forced to use the mouse scroll to be able to move up and read the code.

Tested on vanilla Firefox 128.0.3 and LibreWolf 128.0.2.

Same happens on zadam project v0.63.7

Error logs

No response

eliandoran commented 3 months ago

Apparently the issue is not only in Mermaid charts, but in code notes as well. I've looked a bit into the issue but I don't have yet a fix since it appears to be some kind of interaction between CodeMirror and the underlying container.