scope enable/disable of keyboard controller in composer to only android (#4412)
This commit is contained in:
parent
2540616f43
commit
fefae27396
1 changed files with 1 additions and 1 deletions
|
@ -134,8 +134,8 @@ export const ComposePost = observer(function ComposePost({
|
||||||
// See https://github.com/bluesky-social/social-app/pull/4399
|
// See https://github.com/bluesky-social/social-app/pull/4399
|
||||||
const {setEnabled} = useKeyboardContext()
|
const {setEnabled} = useKeyboardContext()
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
|
if (!isAndroid) return
|
||||||
setEnabled(false)
|
setEnabled(false)
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
setEnabled(true)
|
setEnabled(true)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue