Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions apps/mobile/src/features/connection/ConnectionEnvironmentRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import * as Cause from "effect/Cause";
import { AsyncResult } from "effect/unstable/reactivity";
import { useCallback, useState } from "react";
import { Platform, Alert, Pressable, View } from "react-native";
import Animated, { FadeIn, FadeOut, LinearTransition } from "react-native-reanimated";
import Animated, { LinearTransition } from "react-native-reanimated";

import { AppText as Text } from "../../components/AppText";
import { EnvironmentMachineSymbol } from "../../components/EnvironmentMachineSymbol";
Expand Down Expand Up @@ -142,11 +142,9 @@ export function ConnectionEnvironmentRow(props: {
</Pressable>

{props.expanded ? (
<Animated.View
entering={FadeIn.duration(200)}
exiting={FadeOut.duration(150)}
className="gap-3 px-4 pb-4"
>
// Reanimated entering/exiting on this editor steals iOS hits inside the
// nested form sheet, so Label/URL never become first responder.
<View collapsable={false} className="gap-3 px-4 pb-4">
{props.environment.isRelayManaged ? (
<Text className="text-sm text-foreground-muted">
Managed by T3 Connect. Tunnel details update automatically.
Expand Down Expand Up @@ -247,7 +245,7 @@ export function ConnectionEnvironmentRow(props: {
</Pressable>
</View>
)}
</Animated.View>
</View>
) : null}
</Animated.View>
);
Expand Down