question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Regression] Extraneous vertical scrollbar since version 0.75.0

See original GitHub issue

Minor Regressions

1. Extraneous scrollbar

  • Up to version 0.74.0, mathlive wasn’t showing an inner scrollbar (not needed). image
  • Starting in version 0.75.0 (and 0.76.0), mathlive shows extraneous inner scrollbar. This happens on the official demo as well https://cortexjs.io/mathlive/: image

2. Vertical alignment

  • Prior to version 0.75.0, using display: inline-block on the math-field was working well and the field was centered vertically automatically next to other text: image
  • Starting in version 0.75.0, the math-field jumps high up when placed next to other text: image

Workaround

Both issues can be worked around by adding CSS:

math-field {
  overflow: unset;
}

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:1
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
arnogcommented, Jun 29, 2022

Good catch. Thanks for reporting this. I have published mathlive@0.76.1 which includes a fix.

0reactions
arnogcommented, Jun 30, 2022

@anisabboud that can work in some cases, but note that you’re aligning on the middle, not the baseline, so for example \frac{\frac12}3 will appear mis-aligned.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found