Skip to content

fix(mobile): iOS expanded environment card accepts taps - #11

Draft
macodev00 wants to merge 18 commits into
mainfrom
cursor/ios-env-card-taps-156f
Draft

macodev00 wants to merge 18 commits into
mainfrom
cursor/ios-env-card-taps-156f

Conversation

@macodev00

Copy link
Copy Markdown
Owner

What Changed

Stop wrapping the expanded environment editor in Reanimated FadeIn / FadeOut / LinearTransition. Mount it in a plain View with collapsable={false} so Label, URL, Save, refresh, and trash can receive taps and focus on iOS.

Why

On iOS, Settings → Environments → expand a saved direct environment painted the card (Label, URL, Save, refresh, trash) then ignored every tap. Fields never focused; Save/refresh/trash did nothing. Expand/collapse still worked because that is the header Pressable.

The expanded block sat under Reanimated entering={FadeIn} / exiting={FadeOut} with a parent layout={LinearTransition} inside a nested form sheet. That wrapper paints but steals hits, so children never become first responder. Add Environment on the same stack uses the same inputs without those animations and still works.

Fixes pingdotgg#12085. Does not change the pingdotgg#12012 Alert.alert confirm path.

No iOS simulator in this environment, so there are no before/after recordings. The change is the hit-testing wrapper only.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
Open in Web Open in Cursor 

juliusmarminge and others added 18 commits September 23, 2026 15:01
…case screenshots (pingdotgg#13316)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Exotic <118054752+extoci@users.noreply.github.com>
…otgg#11580)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
…3355)

Co-authored-by: Yordis Prieto <yordis.prieto@gmail.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
Reanimated entering/layout wrappers on the expanded environment editor
stole hits in the Settings form sheet, so Label/URL never focused and
Save/refresh/trash never ran. Mount the editor in a plain View instead.

Co-authored-by: maco <macodev00@users.noreply.github.com>
CodeRabbit docstring coverage was 0% on the one function this PR touches.

Co-authored-by: maco <macodev00@users.noreply.github.com>
CodeRabbit docstring coverage was 50% on two named functions this PR
touches. ConnectionEnvironmentRow already had a docstring.

Co-authored-by: maco <macodev00@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/ios-env-card-taps-156f branch from caec3e4 to cf65b97 Compare September 24, 2026 06:30
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Sep 24, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: iOS: an expanded environment card ignores every tap, its fields never take focus

8 participants