From b314968328ccdbd6bfc213bf30f8970c5ae868d6 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Sat, 14 Nov 2026 12:16:08 +1100 Subject: [PATCH] fix(ui): the floating chat window stays above a tablet's on-screen keyboard --- ui/src/chat/ChatDock.vue | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ui/src/chat/ChatDock.vue b/ui/src/chat/ChatDock.vue index cebca1b97..2b5cb86f0 100644 --- a/ui/src/chat/ChatDock.vue +++ b/ui/src/chat/ChatDock.vue @@ -141,10 +141,13 @@ const wrapStyle = computed | undefined>((): Record 0 ? fitRect(rect, vw.value, visibleHeight.value) : rect; + return { left: `${fit.x}px`, top: `${fit.y}px`, width: `${fit.w}px`, height: `${fit.h}px` }; } const bar = barPlacement(rect, mode.value, vw.value); - return { left: `${bar.x}px`, bottom: `${bar.bottom}px`, width: `${bar.w}px` }; + return { left: `${bar.x}px`, bottom: `${bar.bottom + keyboard.value}px`, width: `${bar.w}px` }; }); // Nothing outside the dock closes it: every navigation control is outside it,