Closed Artur-developer12 closed 1 year ago
It would be useful to see what you are passing on kbComponent
. Also there's the setCustomComponent
it could be somehow related to the issue, since you're setting to undefined
at some point. Could you provide those information as well?
In customComponent, I pass the KeyboardComponentID of the component that I registered with Keyboard.KeyboardRegistry.registerKeyboard
const KeyboardComponentID = 'unicorn.Test'
const KeyboardComponent = () => <View style={{ backgroundColor: 'red', flex: 1 }} />
Keyboard.KeyboardRegistry.registerKeyboard(KeyboardComponentID, () => KeyBoardComponent)
setCustomComponent(undefined)
i use to reset selected keyboard
I managed to solve the problem, it turned out that I did not pass the ref
to the TextInput
inside the renderContent
. Thanks for taking the time to solve my problem
Description
Hi, I am getting this error when trying to change the keyboard "Argument appears to not be a ReactComponent. Keys: current". This error appears only on ios, for android everything works.
Related to
[x] Components
KeyboardAccessoryView
Code snippet
Environment
Affected platforms