Files
fusion/packages
gsxdsm ab040885fb fix: stop iOS chat keyboard collapse by removing destructive resync
The mobile chat keyboard would not reliably stay up on iOS. The cause was
the visibilitychange/pageshow 'resync' effect in ChatView: it only ever
ran while the composer was already focused (its activeElement guard), and
on iOS a programmatic focus() fired from setTimeout has no user-gesture
context, so it could not re-raise the keyboard after the blur(). Every
spurious iOS visibilitychange (Control Center, notification banners, app
switches) therefore dismissed the keyboard mid-session and never restored
it.

Remove the blur()+focus() resync. The visualViewport half-state it
targeted is already handled by useMobileKeyboard, which re-snapshots vv
metrics on visibilitychange/pageshow via its settle tail + rAF stability
poll without ever touching textarea focus.
2026-06-12 08:03:33 -07:00
..
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00
2026-06-10 19:05:55 -07:00