obsidian-latex-suite icon indicating copy to clipboard operation
obsidian-latex-suite copied to clipboard

Popup Preview is bugged for large align-like enviroments

Open aethnae opened this issue 1 month ago • 0 comments

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

  1. Turn on the "Math Popup Preview" feature
  2. Turn on Source Mode
  3. Produce a "long" enough align-enviroment, mine has six rows with \overbrace's above
  4. 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.

Additional Info

CleanShot 2024-05-16 at 11 04 21@2x

aethnae avatar May 16 '24 09:05 aethnae