Skip to content

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

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

macodev00 wants to merge 3 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 

macodev00 and others added 3 commits September 20, 2026 09:29
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

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

1 participant