DigiThinkIT / electron-virtual-keyboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proper usage on react

LazzyGuy opened this issue · comments

Hello,
I am using this on an application which was bootstrapped using create-react-app.
The keyboard is working fine when I am using it on individual components but the problem occurs when am navigating away from that components, it is creating an instance every time I mount the components.
I taught that making a global instance on the root might solve the problem but now it's not automatically showing up when I focus on the input elements. So my question is should is there a way to unmount the components after it is mounted