Files
hapi/ios/Packages/HapiKit/Sources/HapiUI
weishu 6e40a80235 fix(ios): make the chat keyboard easier to dismiss
`.interactive` keyboard dismissal only reacts once the finger reaches the
keyboard's top edge. The composer is a regular SwiftUI view above the
keyboard, not an input accessory, so the finger first had to travel past
the whole composer: a long drag before anything happened.

- Dismiss the keyboard after 32pt of downward finger travel on the
  transcript (once per drag; momentum and programmatic scrolls never
  dismiss). `.interactive` stays for drags into the keyboard.
- Tap anywhere in the transcript to dismiss. The tap does not cancel
  touches, so links, buttons and cards still respond; long press and
  text selection are unaffected.
2026-11-15 10:35:48 +08:00
..