codex - 💡(How to fix) Fix In-app browser comment marker overlay can get stuck covering the page [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openai/codex#20490Fetched 2026-05-01 05:42:41
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Error Message

The issue was initially misdiagnosed as a frontend crash because the visible page was almost entirely black. Checking persisted frontend logs and DOM state showed the app had no new runtime error. The injected overlay was outside the tested app's DOM root and used a z-index higher than any reasonable app UI layer.

Root Cause

Because the overlay is visually above the page, it can make frontend debugging very misleading. It looks like the tested app black-screened even though the issue is the browser tool's annotation/comment overlay being stuck.

RAW_BUFFERClick to expand / collapse

What version of the Codex App are you using (From “About Codex” dialog)?

26.422.71525 (2210)

What subscription do you have?

Pro $100

What platform is your computer?

Darwin 25.4.0 arm64 arm

What issue are you seeing?

The in-app browser diff/comment marker overlay can get stuck above the tested page and make the app look like it has black-screened.

While testing a local Mentat app at https://localhost:18086/, the visible page became almost entirely black/dimmed after using a browser diff comment marker. The app itself had not crashed: the app DOM was still alive, the Provider Management dialog text was readable via DOM inspection, and the app's persisted frontend logs showed no new window_error or window_unhandledrejection.

The injected overlay node was:

#codex-browser-sidebar-comments-root

It had a very high z-index:

position: fixed; inset: 0px; pointer-events: none; z-index: 2147483000;

Because the overlay is visually above the page, it can make frontend debugging very misleading. It looks like the tested app black-screened even though the issue is the browser tool's annotation/comment overlay being stuck.

What steps can reproduce the bug?

Uploaded thread: 019dddc4-5ec1-7b73-8893-9db3063aefec

  1. Open a local web app in the Codex in-app browser.
  2. Use the browser diff/comment marker UI to attach a comment to an element on the page.
  3. Continue interacting with the same in-app browser tab.
  4. Observe that the page can become almost entirely black/dimmed.
  5. Inspect the page DOM: the tested app is still mounted and functional, but an injected #codex-browser-sidebar-comments-root overlay remains fixed above the page with z-index: 2147483000.
  6. Press Escape; the overlay is not dismissed.
  7. Open the same URL in a clean new in-app browser tab; the app displays normally.

What is the expected behavior?

The in-app browser's comment/annotation overlay should not remain visually covering the tested page after a comment interaction ends. It should be dismissed automatically, or there should be a reliable way to dismiss it without refreshing or opening a new tab.

The overlay should not make the page look like it crashed when the underlying app is still functioning.

Additional information

The issue was initially misdiagnosed as a frontend crash because the visible page was almost entirely black. Checking persisted frontend logs and DOM state showed the app had no new runtime error. The injected overlay was outside the tested app's DOM root and used a z-index higher than any reasonable app UI layer.

extent analysis

TL;DR

The issue can be mitigated by dismissing the stuck overlay or adjusting its z-index to prevent it from covering the page.

Guidance

  • Verify that the issue is caused by the #codex-browser-sidebar-comments-root overlay by inspecting the page DOM and checking its z-index.
  • Try pressing Escape to dismiss the overlay, although it may not work as expected.
  • Consider using the browser's developer tools to manually adjust the z-index of the overlay or remove it to verify that the underlying app is still functional.
  • If the issue persists, try opening a new in-app browser tab to load the same URL and see if the overlay is dismissed.

Example

No code snippet is provided as the issue seems to be related to the Codex App's internal functionality.

Notes

The issue may be specific to the Codex App's in-app browser and its comment/annotation overlay feature. The high z-index of the overlay is likely the cause of the problem, making it difficult to interact with the underlying page.

Recommendation

Apply workaround: manually adjust or remove the overlay to prevent it from covering the page, as the expected behavior of the overlay is not functioning as intended.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

codex - 💡(How to fix) Fix In-app browser comment marker overlay can get stuck covering the page [1 participants]