obsidian-latex-suite
obsidian-latex-suite copied to clipboard
Popup Preview is bugged for large align-like enviroments
Description
When previewing large multi-line equations with the popup preview feature and scrolling down enough, the previewed equation leaves the box that surrounds it, basically floating above the lower bound of the box and the actual LaTeX code.
To Reproduce
- Turn on the "Math Popup Preview" feature
- Turn on Source Mode
- Produce a "long" enough
align
-enviroment, mine has six rows with\overbrace
's above - Scroll down, so the box that surrounds the previewed equation gets cut off at the top of your screen
Expected Behavior
The previewed equation should stay inside the box, and should get cut off the same when scrolling down far enough. If you rely on large multi-line equations, it would probably be better to set the popup preview to render below your LaTeX code, as this weirdly doesn't trigger the bug, even when scrolling up enough.