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.

Firefox Nth root symbol missing top line

See original GitHub issue

Description

When writing the Nth root symbol on Firefox, the element is sometimes cut off by the container so you can’t see the top line.

Firefox 88.0.1 (64-bit) on Windows: image image It sometimes appears when other symbols exist in the equation: image

Chrome 90.0.4430.93 (Official Build) (64-bit) on Windows: image

Steps to Reproduce

  1. Empty the input
  2. Insert a Nth root symbol

Actual Behavior

The sqrt-line element is cropped out in most equation scenarios.

Expected Behavior

The top line should not be cut off by the math container.

Environment

https://cortexjs.io/mathlive/guides/virtual-keyboards/

Under the section “Customizing the appearance of the virtual keyboard toggle” with the red keyboard icon.

Operating System Windows 10 Pro (Build 19042.928)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
arnogcommented, May 14, 2021

That appears to be a rendering bug specific to the basic (software) renderer in Firefox. Mozilla is in the process of switching their renderer to a new version codename Quantum/WebRender which does not exhibit this problem. I think they are unlikely to fix it in their basic renderer, and I can’t seem to find a workaround that works. This is a problem that will go away over time once they finish rolling it out to all their users. In the meantime, you can try to enable it manually (your hardware may not be supported, though), by following the instructions here: https://www.askvg.com/tip-how-to-enable-or-disable-new-webrender-feature-in-mozilla-firefox/

1reaction
manstiecommented, May 13, 2021

It is Basic

Read more comments on GitHub >

github_iconTop Results From Across the Web

nth-of-type() - CSS: Cascading Style Sheets - MDN Web Docs
The :nth-of-type() CSS pseudo-class matches elements based on their position among siblings of the same type (tag name).
Read more >
nth-child() - CSS: Cascading Style Sheets - MDN Web Docs
The first one to be returned as a result of the formula is 0 [=5x0], resulting in a no-match, since the elements are...
Read more >
nth-last-child() - CSS: Cascading Style Sheets - MDN Web Docs
Represents every <p> that is the first element among a group of siblings, counting from the end. This is the same as the...
Read more >
first-of-type - CSS: Cascading Style Sheets - MDN Web Docs
The :first-of-type CSS pseudo-class represents the first element of its type among a group of sibling elements.
Read more >
first-line - CSS: Cascading Style Sheets - MDN Web Docs
The ::first-line CSS pseudo-element applies styles to the first line of a block-level element.
Read more >

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