Two iOS Safari-specific fixes for mobile chat: - ChatView: the main chat keyboard collapsed the instant it opened because .chat-thread--keyboard-active declared transform/will-change in CSS, keeping a non-none transform on an ancestor of the focused composer textarea. iOS blurs a focused input when an ancestor establishes a transform containing block. Drive the drift transform in JS only when iOS actually shifts the viewport (offsetTop > 0); the ancestor stays transform:none on focus so the keyboard stays up. - QuickChatFAB: the FAB never opened on iPhone because the drag hook calls setPointerCapture() in pointerdown, which makes WebKit swallow the synthetic click. Fire the open/close toggle from the drag hook's pointerup on a tap (a real gesture, so stealth-input focus still raises the keyboard); keep onClick for mouse/tests with a timer-cleared dedupe. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
45 KiB
45 KiB