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",
|
"name": "voipms-desktop",
|
||||||
"productName": "bubble",
|
"productName": "bubble",
|
||||||
"version": "0.9.5",
|
"version": "0.9.6",
|
||||||
"description": "Signal-style desktop SMS client for voip.ms",
|
"description": "Signal-style desktop SMS client for voip.ms",
|
||||||
"author": "trav <trav@teafry.me>",
|
"author": "trav <trav@teafry.me>",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|||||||
@@ -177,6 +177,10 @@ export function ChatView({ conv, contact, contactMap, conversations, onOpen, nam
|
|||||||
(id: number) => {
|
(id: number) => {
|
||||||
const index = indexOf(id)
|
const index = indexOf(id)
|
||||||
if (index < 0) return
|
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' })
|
virtuoso.current?.scrollToIndex({ index, align: 'center' })
|
||||||
flash(id)
|
flash(id)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user