Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken rendering on component update #66

Open
proitm opened this issue Jul 15, 2021 · 1 comment
Open

Broken rendering on component update #66

proitm opened this issue Jul 15, 2021 · 1 comment

Comments

@proitm
Copy link

proitm commented Jul 15, 2021

We discovered a bug that prevents proper LaTeX formula re-rendering if the formula changes.

How to reproduce (Google Chrome):

  1. Open https://mehdisadeghi.github.io/react-mathjax-preview/
  2. Copy and paste this LaTeX: $$ \begin{equation} \label{eq1} \begin{split} A & = \frac{\pi r^2}{2} \\ & = \frac{1}{2} \pi r^2 \end{split} \end{equation} $$
  3. Append any text in the editor.
  4. The formula rendering breaks. It shows a box with LaTeX code.
@mehdisadeghi
Copy link
Owner

Interesting bug indeed and a great opportunity for making a pull request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants