diff --git a/package.json b/package.json index 7fdf4a0..60d47c6 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "voipms-desktop", "productName": "bubble", - "version": "0.9.5", + "version": "0.9.6", "description": "Signal-style desktop SMS client for voip.ms", "author": "trav ", "private": true, diff --git a/src/renderer/src/components/ChatView.tsx b/src/renderer/src/components/ChatView.tsx index 6404172..4d362c8 100644 --- a/src/renderer/src/components/ChatView.tsx +++ b/src/renderer/src/components/ChatView.tsx @@ -177,6 +177,10 @@ export function ChatView({ conv, contact, contactMap, conversations, onOpen, nam (id: number) => { const index = indexOf(id) if (index < 0) return + // Leaving the bottom: otherwise pictures that finish loading around the + // target (onMediaLoad) see the stale "at bottom" and snap back down + // before Virtuoso reports we've moved. + atBottom.current = false virtuoso.current?.scrollToIndex({ index, align: 'center' }) flash(id) },