1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Fixed emoji icon tap issue

This commit is contained in:
Zhiyuan Zheng
2021-05-10 17:41:32 +02:00
parent 7fb7c762ac
commit 7da8297b46
3 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ const ScreenMeProfileNote: React.FC<StackScreenProps<
const { mutateAsync, status } = useProfileMutation()
const [newNote, setNewNote] = useState(note)
const [dirty, setDirty] = useState(false)
useEffect(() => {
setDirty(note !== newNote)
@ -94,7 +94,7 @@ const ScreenMeProfileNote: React.FC<StackScreenProps<
}, [mode, i18n.language, dirty, status, newNote])
return (
<ScrollView style={styles.base}>
<ScrollView style={styles.base} keyboardShouldPersistTaps='handled'>
<Input value={newNote} setValue={setNewNote} multiline emoji />
</ScrollView>
)