KioskBoard
KioskBoard copied to clipboard
Virtual Keyboard stays visible but should disappear
If you have a input field and allow the user to use the physical keyboard as well (allowRealKeyboard and allowMobileKeyboard are both true). The user then leaves the input field by pressing the tab key causes the onscreen keyboard to remain visible. However in this case the input field it should disappear. Same as if you clicked outside the listener.
Hey @furcan I found one use case. I have added an input with kiosk-keyboard and I open the keyboard. Now I have a listener on the idle page. I mean when user left the page idle for 1 minute and keyboard is open. I'm redirecting it to the Another page as It was idle screen case. In that case my keyboard is still visible on the another redirected page as well but there is no input field.
Can you suggest how to close the keyboard in that scenario before redirecting or from any function?
@Adesh66 in your case you can disable the CSS animations.
// CSS animations for opening or closing the keyboard, default is "true"
cssAnimations: false,
@furcan this property didn't worked for me. Before redirecting I clicked the enter button to fix this issue at my end.
if (document.querySelector('.kioskboard-key-enter')) { document.querySelector('.kioskboard-key-enter').click(); }
@furcan this property didn't worked for me. Before redirecting I clicked the enter button to fix this issue at my end.
if (document.querySelector('.kioskboard-key-enter')) { document.querySelector('.kioskboard-key-enter').click(); }
Then, you can even click to body if you want. Thanks.
Yeah Right! Can trigger on body as well.
Thanks