Skip to content

MathJax makes the legend scroll unnecessarily #966

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

Closed
rreusser opened this issue Sep 22, 2016 · 5 comments
Closed

MathJax makes the legend scroll unnecessarily #966

rreusser opened this issue Sep 22, 2016 · 5 comments
Labels
bug something broken

Comments

@rreusser
Copy link
Contributor

http://codepen.io/rsreusser/pen/mARpJd?editors=1010

2016-09-22 10 48 51

I get a scrollbar when my legend includes mathjax. In this case it's not catastrophic, but in another example, I just had to drop the mathjax altogether because the legend names ended up blank if they included any mathjax.

@etpinard
Copy link
Contributor

Oh MathJax

@etpinard etpinard added the bug something broken label Sep 22, 2016
@rreusser
Copy link
Contributor Author

Yeah, I'm assuming that it's because of asynchronous measuring/rendering passes. I mainly raise this because I feel like it's an argument in favor of KaTeX if the support ever becomes viable.

@etpinard
Copy link
Contributor

Yeah. We've been wanting to switch over to KaTeX for about two years now.

I wonder how hard that would be?

@rreusser
Copy link
Contributor Author

rreusser commented Sep 22, 2016

I can only imagine a lot of the work would be ripping out complicated async handling of everyithng. Katex is effectively synchronous, right? Full support and getting it to play well with everything could be nontrivial though.

@etpinard
Copy link
Contributor

Most likely fixed as part of #2426

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

No branches or pull requests

2 participants