Skip to content

Commit f679021

Browse files
shivamhwpclaude
andcommitted
fix(mobile): a new approval starts scrolled to the top
Key the approval scroll view by request so a replacement approval does not inherit the previous one's scroll offset. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 05b38dd commit f679021

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎apps/mobile/src/features/threads/ThreadDetailScreen.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1716,6 +1716,7 @@ function ThreadDetailBody(
17161716
>
17171717
{props.activePendingApproval ? (
17181718
<Animated.ScrollView
1719+
key={props.activePendingApproval.requestId}
17191720
style={approvalHeightStyle}
17201721
keyboardShouldPersistTaps="handled"
17211722
nestedScrollEnabled

0 commit comments

Comments
 (0)