fix(client): ensure typebox is blurred on mobile when switching channels

This commit is contained in:
Sigmabrogz
2026-03-14 04:04:56 +00:00
parent 3abd7cbfea
commit 06a513a0f6
+2
View File
@@ -2719,6 +2719,8 @@ class Channel extends SnowFlake {
(document.getElementById("typediv") as HTMLElement).style.visibility = "visible";
if (!mobile) {
(document.getElementById("typebox") as HTMLDivElement).focus();
} else {
(document.getElementById("typebox") as HTMLDivElement).blur();
}
if (getMessages) await this.putmessages();
await prom;