Skip to content

[Bug]: Disabled T3 Connect server menu still opens on iOS during deregistration #39878

Closed

Description

@ruck-syu

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. On iOS, open Settings → T3 Account → T3 Connect → Registered servers with at least two registered servers.
  2. Start deregistering the first server. Keep its request pending so the first row shows a spinner and the second row’s ⋮ dims.
  3. Tap the second row’s dimmed ⋮, then choose Deregister.
  4. Tap Deregister in the confirmation dialog.

For a deterministic simulator repro, I mounted the real T3ConnectProfilePage directly with two fixture servers and a stub deregister command that never resolves. The native menu, confirmation dialog, and pending guard came from the app. The harness bypassed Clerk sign-in and made no relay requests.

Expected behavior

While the first deregistration is pending, tapping another row’s disabled ⋮ should leave the menu closed.

Actual behavior

The dimmed ⋮ still opens the native menu. Choosing Deregister shows a confirmation dialog for the second server. Confirming closes the dialog without starting a second deregistration or displaying an error. Both rows stay visible while the first request is pending.

The upstream row markup disables the inner Pressable, while the surrounding native Menu still handles the tap. The pending guard returns before invoking the command a second time.

Related Android menu work is tracked in #34521 and #39816. This report covers the disabled state on iOS.

Impact

Minor bug or occasional failure

Version or commit

Reproduced with upstream main at d7f6b3efca and the Android menu fix branch at 8a6a4f190f.

Environment

T3 Code iOS dev client on an iPhone 18 Pro simulator running iOS 27.2.

Logs or stack traces

Harness counters after confirming the second server on both revisions:

Confirm callbacks: Alpha, Beta (2)
Deregister requests: Alpha (1)

Workaround

Wait for the first deregistration to finish before opening another server’s menu.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions