From b810b1667294003f44d5fc9e658a0dba7234b017 Mon Sep 17 00:00:00 2001 From: openhands Date: Wed, 2 Sep 2026 22:02:31 +0200 Subject: [PATCH] fix: show/hide arrow always visible and null-safe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Show arrow (›) appears when toolbar is hidden, regardless of pos state - Null-safe pos top/left (?. ?? 8) to prevent TS errors - Arrow positioned fixed top-right instead of depending on balk-positie --- src/app/client/client-view.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/client/client-view.tsx b/src/app/client/client-view.tsx index 1ff07aac..2a92fd42 100644 --- a/src/app/client/client-view.tsx +++ b/src/app/client/client-view.tsx @@ -295,8 +295,8 @@ export function ClientView({ ref={toolbarRef} className="fixed z-[9999] rounded-2xl shadow-2xl px-1.5 py-1.5 select-none backdrop-blur-2xl" style={{ - top: pos.top, - left: pos.left, + top: pos?.top ?? 8, + left: pos?.left ?? 8, transition: snapTween ? "top 0.18s ease-out, left 0.18s ease-out" : undefined, @@ -540,7 +540,7 @@ export function ClientView({ ) : null} - {barHidden && pos ? ( + {barHidden ? (