mathjax / mathjax/MathJax

Context menu dialog "Show Math As > TeX Commands" misaligned vertically

Open
#3,598 2 comments 0 reactions 1 assignee View on GitHub

@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:
  1. Navigate to the MathJax Live Demo page.
  2. Right-click any rendered equation and select Show Math As > TeX Commands.
  3. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.