Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(mobile): enable nested scrolling for recent projects (#5013)
davide9ab1762eb53
diff --git a/apps/mobile/app/sessions/new.tsx b/apps/mobile/app/sessions/new.tsxindex 674fd86ba4..4bac0f8cc0 100644--- a/apps/mobile/app/sessions/new.tsx+++ b/apps/mobile/app/sessions/new.tsx@@ -5638,8 +5638,9 @@ export default function NewRemoteSessionScreen() {<View style={styles.workspacePickerDivider} />{recentWorkspaces.length > 0 ? (<ScrollView+ nestedScrollEnabledkeyboardShouldPersistTaps="handled"- showsVerticalScrollIndicator={false}+ showsVerticalScrollIndicatorstyle={styles.workspaceProjectList}>{recentWorkspaces.map((workspace) => {diff --git a/apps/mobile/src/__tests__/newSession.test.ts b/apps/mobile/src/__tests__/newSession.test.tsindex 08fcd153e1..e20ca74ea7 100644--- a/apps/mobile/src/__tests__/newSession.test.ts+++ b/apps/mobile/src/__tests__/newSession.test.ts@@ -1348,6 +1348,18 @@ describe('new session model', () => {expect(parseNewSessionDeviceOptions('')).toEqual([]);});+ it('keeps the recent-project list nested-scrollable with a visible scroll indicator (#5013)', () => {+ const source = readTextLf(resolve(process.cwd(), 'app/sessions/new.tsx'), 'utf8');+ // Scope the guard to this list: the remote directory FlatList already has+ // these props, so checking the whole page would miss the Android regression.+ // Native gesture dispatch still needs Android emulator/device verification.+ const lists = source.match(/<ScrollView\b[^>]*style=\{styles\.workspaceProjectList\}[^>]*>/g);+ expect(lists).toHaveLength(1);+ expect(lists![0]).toMatch(/\bnestedScrollEnabled(?:\s|=\{true\})/);+ expect(lists![0]).toMatch(/\bshowsVerticalScrollIndicator(?:\s|=\{true\})/);+ expect(lists![0]).toContain('keyboardShouldPersistTaps="handled"');+ });+it('builds recent workspace quick picks from mirrored remote sessions', () => {const options = buildRecentWorkspaceOptions([remoteSession('old', {