Bluesky app fork with some witchin' additions 💫

Composer - backup android focus (#4415)

* backup android focus

* bump to 300ms just to make sure it catches all of them

authored by samuel.fm and committed by

GitHub 29a4a5f9 fefae273

+13
+13
src/view/com/composer/Composer.tsx
··· 402 402 bottomBarAnimatedStyle, 403 403 } = useAnimatedBorders() 404 404 405 + // Backup focus on android, if the keyboard *still* refuses to show 406 + useEffect(() => { 407 + if (!isAndroid) return 408 + if (isModalReady) { 409 + setTimeout(() => { 410 + if (!Keyboard.isVisible()) { 411 + textInput.current?.blur() 412 + textInput.current?.focus() 413 + } 414 + }, 300) 415 + } 416 + }, [isModalReady]) 417 + 405 418 return ( 406 419 <> 407 420 <KeyboardAvoidingView