From eb49af843c782a8e693e001020a79d6e00c08137 Mon Sep 17 00:00:00 2001 From: rustdesk Date: Fri, 4 Feb 2022 11:20:01 +0800 Subject: [PATCH] tmp solution for msgbox in scrollable --- src/ui/common.tis | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/common.tis b/src/ui/common.tis index 76ff5022d..7075e9ca3 100644 --- a/src/ui/common.tis +++ b/src/ui/common.tis @@ -212,6 +212,7 @@ class ChatBox: Reactor.Component { /******************** start of msgbox ****************************************/ var remember_password = false; function msgbox(type, title, content, callback=null, height=180, width=500, hasRetry=false, contentStyle="") { + $(body).scrollTo(0, 0); if (!type) { closeMsgbox(); return;