Skip to content

The Expo dev menu is not treated as covering the app, so fill taps through it #5003

Done

Description

@imranbarbhuiya

Purpose

On a fresh Expo dev-client launch the dev menu sheet (Runtime version, Reload, Go home, Toggle element inspector, Close) sits over the app. snapshot -i still lists the app's fields as plain [editable], not [covered].

So fill @e7 "user@example.com" taps through the sheet and fails with TEXT_ENTRY_MISMATCH … observed "", and the hint blames the app ("may have formatted, filtered, or consumed the entry"). Pressing Close first makes the same fill work.

This showed up in my 26 agent sessions that had the dev menu on screen, 6 of which then hit the text-entry failure.

Cause

  • packages/capture-kit/src/snapshot-occlusion.ts only treats nodes whose kind names a sheet, dialog or menu as overlays. The dev menu's nodes are plain toolbars, text and buttons.
  • KNOWN_OVERLAY_TEXT_PATTERN in react-native-overlay.ts knows LogBox and RedBox only.

Required behavior (proposal)

  1. Recognize the Expo dev menu (Runtime version: plus Reload/Go home/Close) as a React Native overlay: mark the app content under it [covered], and let react-native dismiss-overlay close it through Close.
  2. When fill reads back an empty value, the hint mentions that the tap may have landed on an overlay.

Related: #4347 (controls under an app-drawn footer are not marked covered).

Activity

  1. added
    bug
    on Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions