Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics

Dashboard
Notifications
Mark all as read
Meta

MathJax rendering freezes post editor

+4
−0

I've found that while typing a post, whenever the MathJax renderer runs the editor freezes and I become unable to type anything in it. This is quite annoying, as it happens quite often - I can only type a few words before the MathJax renderer runs and stops me. Even just moving the caret with arrow keys will cause the renderer to re-run, making it extra annoying when I move back to fix a typo or something.

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

4 comments

What browser? I find the same happens in Chrome on my Android device but not in Chrome on Windows. msh210‭ 3 months ago

@msh210 Edge on Windows 10 Moshi‭ 3 months ago

Happens also for me with Waterfox Classic on Linux. In particular the re-rendering on moving the cursor is annoying; a re-rendering should only be triggered when the edited content actually changes. celtschk‭ 3 months ago

This is happening to me, too. The editor slows down tremendously and drafting moderately long posts becomes quite difficult. Gourimanohari Ragam‭ 28 days ago

1 answer

+1
−0

The rendering happens when auto-save runs. We weren't able to solve the problem directly (something something Javascript is single-threaded something), but there is now a preference to disable auto-saving, which is a work-around. Go to your user profile and then to the "preferences" tab.

Be sure to save your post yourself when working on something long or complex with auto-save turned off. You can use the new "save" control in the toolbar to manually save a draft:

screenshot, last button circled

Why does this post require moderator attention?
You might want to add some details to your flag.

1 comment

Maybe it would be a good idea to make the autosave interval configurable (ideally per community, or simply two settings depending on whether MathJax is enabled or disabled). An autosave every five minutes would still be quite useful, but probably not too disruptive even with MathJax rendering. celtschk‭ 13 days ago

Sign up to answer this question »