MCP App iframe receives no pointer input (mouse/touch) in ChatGPT's mobile layout; keyboard works

Environment

  • ChatGPT web, MCP Apps widget (ui resource, mimeType text/html with the mcp-app profile)
  • Reproduced on: iPhone Safari, iPhone Chrome (both WebKit), and desktop Chrome (Blink) with the window
    narrowed to about 385px so that ChatGPT switches to its mobile layout.
  • Not reproduced: the same conversation in desktop Chrome at 1000px or wider, and the ChatGPT iOS app
    (touch works there).
  • Date: 2026-10-30

Symptom

  • Buttons and map markers inside our app iframe do nothing on mouse click or touch.
  • Keyboard works: Tab into the iframe and press Space or Enter on the same button, and it works,
    including requestDisplayMode(“fullscreen”).
  • Widening the browser window makes mouse clicks work again in the same conversation.

What we verified

  • Capture-phase pointerdown, mousedown and click listeners installed on all three documents (the
    ChatGPT top document, the sandbox page on the web-sandbox / oaiusercontent origin, and the app
    document in iframe#root inside the sandbox) log nothing when clicking a button in the mobile layout.
  • Hit testing at the button position returns the expected path at every layer: top → sandbox iframe,
    sandbox → iframe#root (pointer-events: auto), app document → the button itself. There is no DOM
    overlay at any layer.
  • On iPhone Safari in fullscreen, window-level capture counters for pointerdown, touchstart and click
    stay at 0 after repeated taps, while the app’s JS keeps running (hostContext displayMode is
    fullscreen, safeAreaInsets are all 0, the map is rendered).
  • The same build works with mouse in the Sunpeak MCP App inspector at 375px width.

Expected

  • Pointer input reaches the app iframe in the mobile layout, as it does in the desktop layout and
    in the iOS app.

Related

  • This looks related to the thread “Apps SDK fullscreen footer overlay blocks widget buttons on narrow
    desktop windows” in this category.

We hit the same issue with our MCP App on chatgpt.com in iPhone Safari and iPhone Chrome (iOS 18.6.2). Android browsers work.

Inspecting the top-level chatgpt.com document via Safari Web Inspector while the app was fullscreen, we found:

  • When the app goes fullscreen, ChatGPT marks the conversation container inert and aria-hidden="true".
  • The app iframe stays inside that container in the DOM. It is only moved visually with position: fixed (z-index 43) above the fullscreen panel.
  • Because the iframe has an inert ancestor, document.elementsFromPoint() at the iframe’s centre returns the fullscreen panel’s placeholder div.h-full.min-h-0.w-full, not the iframe. Every tap lands on that placeholder: capture listeners in the top document see touchstart/pointerdown/click on it, and none reach the iframe.
  • In inline mode the same iframe receives taps normally. Requesting pip is coerced to fullscreen on mobile and behaves the same.

So it looks like the fullscreen iframe needs to be outside the inert subtree, or the container should not be inert while an app is fullscreen.

Our workaround for now: on ChatGPT web on iOS phones (window.openai.userAgent.device = os “ios”, platform “web”, type “mobile”) we skip fullscreen and expand the app inside the inline card.

I noticed the same! Seems to be a bug.