mirror of
https://gitee.com/openharmony/applications_mms
synced 2024-11-26 17:30:42 +00:00
当短信对话界面划动到最上面一条,接收到对端发送消息后,短信对话界面不会自动划动回到最新消息的位置
Signed-off-by: xiazhichao9 <xiazhichao05@chinasoftinc.com>
This commit is contained in:
parent
eda6e4e987
commit
164d8758c2
@ -2028,9 +2028,9 @@ export default class ConversationController {
|
||||
HiLog.i(TAG, "subscriberCallBack, start");
|
||||
globalThis.needToUpdate = true;
|
||||
// Receiving SMS Updates
|
||||
this.queryMessageDetail(this.strContactsNumber, this.threadId, () => {
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.queryMessageDetail(this.strContactsNumber, this.threadId, () => {
|
||||
});
|
||||
this.scroller.scrollToIndex(this.mmsList.length - 1);
|
||||
let actionData: LooseObject = {};
|
||||
actionData.threadId = this.threadId;
|
||||
|
Loading…
Reference in New Issue
Block a user