[Keyboard Plugin] Closing the keyboard isn't working

[Keyboard Plugin] Closing the keyboard isn't working

  
Forge Component
(2)
Published on 30 Aug by Daniel Luz
2 votes
Published on 30 Aug by Daniel Luz

Hi,


I am trying to use the CloseKeyboard action and I am having the following error: Cannot read property 'Keyboard' of undefined.


I don't know if I am missing some configuration but when I run the action CheckKeyboardPlugin it doesn't gives any error.


Best regards,

José Gandarez

Hi José,

In which action are you trying to use the CloseKeyboard action? I tried to do this on the inputs: OnInitialize but this doesn't work because the Keyboard isn't shown yet. 

If you use the event KeyboardOpenEvent and inside the event, you call the CloseKeyboard action this will work. However, you will have the situation that the keyboard will open and immediately closes, which is not really user-friendly. 

Kind Regards,
Martijn Habraken