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

Do not display mathjax overlay #2181

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Do not display mathjax overlay #2181

merged 1 commit into from
Nov 7, 2024

Conversation

timkpaine
Copy link
Contributor

There seems to be a possible race condition when using e.g. webpdf, or when generating html outputs and then attempting to screenshot them or print as pdf, due to the MathJax overlay. This means the MathJax loading overlay can sometimes be included in the final output asset (e.g. in the PDF itself). This is definitely unexpected behavior!

Here I am refreshing the html output, and you can see the MathJax loading bar.

tmp

In this PR, I disable this loading bar. I'm not sure if anyone is relying on this loading bar, and to be honest I don't see a ton of value in it, but open to changes or making it parameterized.

@krassowski
Copy link
Member

Sounds reasonable, should we undraft this?

@timkpaine timkpaine marked this pull request as ready for review October 30, 2024 10:19
@krassowski krassowski merged commit 6e5fdb3 into jupyter:main Nov 7, 2024
23 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants