Laverna / laverna

Laverna is a JavaScript note taking application with Markdown editor and encryption support. Consider it like open source alternative to Evernote.
https://laverna.cc/index.html
Mozilla Public License 2.0
9.18k stars 801 forks source link

Preview pane scrolls to top after rendering MathJax bmatrix #922

Open dlwalter opened 6 years ago

dlwalter commented 6 years ago

I am writing a note using MathJax that includes a bmatrix:

$$
\Omega(\omega) = 
\begin{bmatrix}
a & b \\
c & d \\
\end{bmatrix}
$$ 

When editing the note the preview pane scrolls to the top of the page after rendering each new change, requiring me to manually scroll back to down to see the new edit. I tested a new note and it worked fine for most MathJax commands until I tried inserting a matrix. After I include the matrix, the preview pane remains scrolled to the top of the page after the render.

test_text.txt