I am Currently in process of Developing a on screen handler for my Web application using React and i am facing some problem in creating events for backspace and arrow on screen keys.
I have a layout like this
I was looking at a coupler of questions which used jquery but i also came across multiple SO questions which said its a bad practise to use jquery with React because of the virtual DOM concept react uses .
How to trigger backspace on a textfield?
How to use JQuery with ReactJS
How do i simulate the events of backspace and arrow left and right buttons from the onscreen controls using React or pure JS.
Update
I donot want to have to trigger the on screen button based on keypress, its the other way around. I want to click the onscreen button which trigger the event for the keyboard press automatically and does the necessary event on input.