From af0f78d63472f79443e139ebeac61714e5ed29e4 Mon Sep 17 00:00:00 2001 From: tianxingjian2406 <2550975@tongji.edu.cn> Date: Mon, 26 Oct 2026 23:59:17 +0800 Subject: [PATCH 1/3] Keep keyboard focus after Scroll to end or removing a queued message --- frontend/components/chat/composer.tsx | 1 + .../pro/queued-messages-interaction.test.tsx | 92 +++++++++++++++++++ frontend/components/pro/queued-messages.tsx | 19 +++- .../session-ui/scroll-to-end-pill.test.tsx | 53 +++++++++++ .../session-ui/scroll-to-end-pill.tsx | 3 + 5 files changed, 167 insertions(+), 1 deletion(-) create mode 100644 frontend/components/pro/queued-messages-interaction.test.tsx create mode 100644 frontend/components/session-ui/scroll-to-end-pill.test.tsx diff --git a/frontend/components/chat/composer.tsx b/frontend/components/chat/composer.tsx index accd75dfd..6cf322954 100644 --- a/frontend/components/chat/composer.tsx +++ b/frontend/components/chat/composer.tsx @@ -457,6 +457,7 @@ export function Composer({ // a native dark pill in dark - never a white island clashing with the dark page.