v0.9.6: bubble for Android 0.7.8 — the chat search's arrows stay on the match instead of snapping back to the newest messages
This commit is contained in:
+1
-1
@@ -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 <trav@teafry.me>",
|
||||
"private": true,
|
||||
|
||||
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user