douglasjunior / react-native-keyboard-manager

⚛ Library to prevent issues of keyboard sliding up and cover inputs on React-Native iOS projects.
https://www.npmjs.com/package/react-native-keyboard-manager
MIT License
971 stars 59 forks source link

Fix crash `Exception 'accessing _cachedSystemAnimationFence requires … #44

Closed thanhcuong1990 closed 5 years ago

thanhcuong1990 commented 5 years ago

Fix crash

Exception 'accessing _cachedSystemAnimationFence requires the main thread' was thrown while invoking setEnableAutoToolbar on target ReactNativeKeyboardManager with params (0)

IMG_6542

jacquesdev commented 5 years ago

@douglasjunior - could we please get this merged in? I'm having the same issue

thanhcuong1990 commented 5 years ago

@jacquesdev While waiting you can use my fork

"react-native-keyboard-manager": "github:thanhcuong1990/react-native-keyboard-manager#master"
douglasjunior commented 5 years ago

Thank you guys, and sorry for delay.

douglasjunior commented 5 years ago

Done https://github.com/douglasjunior/react-native-keyboard-manager/releases/tag/4.0.13-11

douglasjunior commented 5 years ago

@thanhcuong1990 can you do the same thing to the resignFirstResponder method? I think that this will fix the #42 too.

thanhcuong1990 commented 5 years ago

@douglasjunior sure. Here is pull request #45