Context menu dialog "Show Math As > TeX Commands" misaligned vertically
Open
@dpvc is already working on this.
Since Aug 8, 2026.
Accepted
- Dominant language
- JavaScript
- Stars
- 10.9k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
Issue Summary
When selecting Show Math As > TeX Commands from the MathJax contextual menu on a rendered equation, the resulting dialog window opens incorrectly anchored to the very top edge of the browser viewport instead of being centered on the screen.
Host Page: https://www.mathjax.org/#demo
Browsers tested: Chrome v151.0.7922.76
OS: Windows 11
Steps to Reproduce:
- Navigate to the MathJax Live Demo page.
- Right-click any rendered equation and select
Show Math As > TeX Commands. - Observe the layout positioning of the appearing source dialog window.
Expected behavior:
The dialog window centers vertically on the screen.
Actual Behavior:
The dialog window sticks to the very top edge of the screen.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.