scope enable/disable of keyboard controller in composer to only android (#4412)
parent
2540616f43
commit
fefae27396
|
@ -134,8 +134,8 @@ export const ComposePost = observer(function ComposePost({
|
|||
// See https://github.com/bluesky-social/social-app/pull/4399
|
||||
const {setEnabled} = useKeyboardContext()
|
||||
React.useEffect(() => {
|
||||
if (!isAndroid) return
|
||||
setEnabled(false)
|
||||
|
||||
return () => {
|
||||
setEnabled(true)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue