[FIX] Can't close the keyboard after entering data in one text box on the screen (#4910)

* [FIX] Can't close the keyboard after entering data in one text box on the screen

* change the scrollPersistTap

* update test
This commit is contained in:
Reinaldo Neto 2023-03-16 16:17:24 -03:00 committed by GitHub
parent e08c611a9f
commit 87e86e819e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 14 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
import { KeyboardAwareScrollViewProps } from '@codler/react-native-keyboard-aware-scroll-view'; import { KeyboardAwareScrollViewProps } from '@codler/react-native-keyboard-aware-scroll-view';
const scrollPersistTaps: Partial<KeyboardAwareScrollViewProps> = { const scrollPersistTaps: Partial<KeyboardAwareScrollViewProps> = {
keyboardShouldPersistTaps: 'always', keyboardShouldPersistTaps: 'handled',
keyboardDismissMode: 'interactive' keyboardDismissMode: 'interactive'
}; };