-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Code is rendered for a second and than disappeared. #3273
Comments
It looks like framer is replacing the page with the original page content after MathJax runs, wiping out the typeset mathematics after it was put in place. The page generates the "Minified React error #418" message, and looking up this error, we see:
Since MathJax changes the DOM, it is likely that that is the issue that React is complaining about (though I don't know much about React myself). You probably need to configure MathJax to not do its initial typesetting, and wait to do that until framer has loaded the dynamic context of the page. There may be a signal that you can hook into from Framer that will tell you when it is done loading the page, and then you can call Otherwise, you may need to contact the Framer support community to find out if anyone has worked out how to use MathJax in that setting. It looks like there might not be the needed support, according to this post. |
I'm trying to get MathJax to work in the framer service. Unfortunately, after refreshing, the equation renders correctly for a second and then disappears and the code itself appears.
Technical details:
I am using the following MathJax configuration and loading MathJax via:
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>Here is a link to the test website:
https://www.youwillsolveit.com/collection/test
The text was updated successfully, but these errors were encountered: