Welcome to Codidact Meta!
Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.
MathJax rerenders on movement instead of on change
I've noticed something when using MathJax during preparing/editing a post. Each time a change is made to the raw text, the preview rerenders accordingly. This is the behaviour I expect, which ensures the preview is always up to date. However, it also rerenders each time I move the text cursor, even if there is no change to the raw text input. For example, if I press one of the left/right/up/down cursor arrows, the preview reverts to raw MathJax markup for a moment, and then renders again. Also if the raw text box doesn't have focus and I give it focus by clicking into it with the mouse, the same momentary reversion to raw markup occurs.
This doesn't stop me drafting posts, it's just an unexpected extra movement in the page. Would it be straightforward to configure this to only rerender on change, rather than on change of focus and text cursor movement, or is this something related to the third party code doing the rendering?
1 comment thread