Cocos2d-JS, Unable to receive keyboard events

Cocos2d-JS, Unable to receive keyboard events
0.0 0

#1

Hello there,I’m working on cocos2dx 3.12 in Cocos2d-JS. Keyboard events are not received by the game menu layer until the player clicks anywhere inside the game.

please help me.