Firefox Nth root symbol missing top line
See original GitHub issueDescription
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: It sometimes appears when other symbols exist in the equation:
Chrome 90.0.4430.93 (Official Build) (64-bit) on Windows:
Steps to Reproduce
- Empty the input
- 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:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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/
It is
Basic