Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

ons-keyboard-inactive in Onsen 2?

  • I want to hide a button when the keyboard is active. Is it possible in Onsen UI 2?

    This does not work:

    <div ons-keyboard-inactive>
       <ons-button modifier="material" float>OK</ons-button>

  • @anderson ons-keyboard-inactive was for Onsen 1. There is not an equivalent that I am aware of. I would suspect you approach the use case differently in Onsen 2. What exactly are you trying to do? Are you wanting to hide a key on the keyboard?