HTML5 force focus on Corona

Hi,

I have an html plugin that opens and allows interaction with the user (Text input and UI buttons).

I use the following solution to enable and disable the Corona keyboard handler.

https://forums.coronalabs.com/topic/73492-html5-plugin-keyboard-input/

But, after closing my plugin, the Corona app no longer allows interaction, i.e. buttons/touch does not work.

How can I force focus back on the Corona app after I close my html plugin?

Sincerely,

Michael Wickey

 

P.S.

This is the app: https://handstand-dev.wickeyappstore.com/

The plugin is the floating menu button on the upper left hand corner.