Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(mobile): keep thread scroll bounds current after animations #9013

Mergedjuliusmarmingemerged 8 commits intomain fromrefs/pull/9013/headmerged by juliusmarminge View on GitHub

Showing 7 changed files with 42 additions and 51 deletions (loading 3).

x
0 of 7 viewed, 7 left
1 addition and 1 deletionapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -688,7 +688,7 @@
onTouchCancel={handleFeedTouchCancel}
<ThreadFeed
- key={props.selectedThread.id}
+ key={selectedThreadKey}
environmentId={props.environmentId}
threadId={props.selectedThread.id}
workspaceRoot={props.threadCwd}
30 additions and 50 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -70,7 +70,6 @@
import Animated, {
FadeIn,
FadeInUp,
- FadeOut,
LinearTransition,
type SharedValue,
} from "react-native-reanimated";
@@ -132,6 +131,7 @@
} from "./thread-feed-live-follow";
import {
collapsedWorkLogHeight,
+ ThreadDisclosureChevron,
ThreadWorkGroupToggle,
ThreadWorkLog,
THREAD_DISCLOSURE_TRANSITION_MS,