Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

disable alt text auto focus on Android (#4198)

* disable alt text auto focus on Android

* revert timeout change

authored by

Hailey and committed by
GitHub
e5fc0baa 0e772803

+2 -1
+2 -1
src/view/com/modals/AltImage.tsx
··· 20 20 import {enforceLen} from 'lib/strings/helpers' 21 21 import {gradients, s} from 'lib/styles' 22 22 import {useTheme} from 'lib/ThemeContext' 23 - import {isWeb} from 'platform/detection' 23 + import {isAndroid, isWeb} from 'platform/detection' 24 24 import {ImageModel} from 'state/models/media/image' 25 25 import {Text} from '../util/text/Text' 26 26 import {ScrollView, TextInput} from './util' ··· 44 44 45 45 // Autofocus hack when we open the modal. We have to wait for the animation to complete first 46 46 React.useEffect(() => { 47 + if (isAndroid) return 47 48 setTimeout(() => { 48 49 inputRef.current?.focus() 49 50 }, 500)