diff --git a/mobile/app/h/[hostId]/session/[worktreeId].tsx b/mobile/app/h/[hostId]/session/[worktreeId].tsx index c9a388ee8a5..e4b2a03ccc3 100644 --- a/mobile/app/h/[hostId]/session/[worktreeId].tsx +++ b/mobile/app/h/[hostId]/session/[worktreeId].tsx @@ -2324,6 +2324,7 @@ export default function SessionScreen() { currentOffset: tabStripOffsetRef.current }) if (nextOffset !== tabStripOffsetRef.current) { + tabStripOffsetRef.current = nextOffset tabStripRef.current?.scrollTo({ x: nextOffset, animated }) } }, [])