diff --git a/apps/mobile/app.config.ts b/apps/mobile/app.config.ts index 3215f94..56cd931 100644 --- a/apps/mobile/app.config.ts +++ b/apps/mobile/app.config.ts @@ -27,10 +27,10 @@ const createConfig = (): Omit & { extra: { eas: EASConfig } slug: process.env.EXPO_PUBLIC_APP_SLUG as string, scheme: process.env.EXPO_PUBLIC_APP_SCHEME as string, owner: process.env.EXPO_PUBLIC_APP_OWNER as string, - version: '1.3.0', + version: '1.4.0', orientation: 'portrait', icon: './assets/icon.png', - runtimeVersion: '1.3.0', + runtimeVersion: '1.4.0', experiments: { reactCompiler: true, }, @@ -42,7 +42,7 @@ const createConfig = (): Omit & { extra: { eas: EASConfig } supportsTablet: false, buildNumber: appEnv.select({ default: '18', - production: '10', + production: '12', }), config: { usesNonExemptEncryption: false, @@ -52,7 +52,7 @@ const createConfig = (): Omit & { extra: { eas: EASConfig } package: appId, versionCode: appEnv.select({ default: 15, - production: 10, + production: 12, }), adaptiveIcon: { foregroundImage: './assets/adaptive-icon.png', diff --git a/libs/mobile/chat/features/chat/src/lib/components/messages-list/component.tsx b/libs/mobile/chat/features/chat/src/lib/components/messages-list/component.tsx index c8e203e..4c0e2e8 100644 --- a/libs/mobile/chat/features/chat/src/lib/components/messages-list/component.tsx +++ b/libs/mobile/chat/features/chat/src/lib/components/messages-list/component.tsx @@ -116,6 +116,10 @@ export default function ChatMessagesList({ //but when a small distance has been scrolled. const isNearBottom = scrollY + containerHeight >= contentHeight - 100; + if (!isResponseGenerating) { + shouldAutoscrollToBottomRef.current = isNearBottom; + } + if (isNearBottom || isScrollingUp) { animateScrollToBottom(0); } else if (isScrollToBottomAvailable.current && !isInputFocusing) {