fix(dashboard): keep keyboard up on send tap; hide status bar with keyboard

Two mobile chat regressions addressed together:

1) ChatView send button: preventDefault now fires on pointerdown for
   touch pointers, before iOS blurs the textarea. The previous
   onMouseDown.preventDefault was too late on iOS (mousedown is
   synthesized after touchend, by which point the keyboard has
   already started dismissing). Click still runs the action so quick
   taps remain reliable.

2) ExecutorStatusBar: hidden on mobile while keyboard is open,
   mirroring MobileNavBar. The bar is position:fixed against the
   layout viewport, which iOS leaves anchored below the keyboard;
   during a swipe/pan it would slide over the messages list.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
gsxdsm
2026-05-06 20:34:35 -07:00
parent ddf9f03ec8
commit 92d40bc519
4 changed files with 37 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
---
"@runfusion/fusion": patch
---
Two mobile chat fixes:
1. Tapping the ChatView send button no longer dismisses the soft
keyboard. preventDefault now fires on `pointerdown` for touch
pointers (before iOS blurs the textarea — the synthesized mousedown
it previously relied on fires too late). Click still runs the send
action so quick taps remain reliable.
2. The bottom executor status bar is now hidden on mobile while the
keyboard is open, mirroring `MobileNavBar`. The bar is
`position: fixed` against the layout viewport, which iOS leaves
anchored below the keyboard — during a swipe/pan it would slide
over the message list.