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.

Adding notification bubble to ons-toolbar removes

  • Hello, when I put a notification, there is more than one icon that appears on the right when I have three.


    If I remove the notification, the icons are displayed correctly.


    My code :

    <ons-toolbar-button><ons-icon icon="md-notifications"></ons-icon><span class="notification">1</span></ons-toolbar-button>
     <ons-toolbar-button onclick="loadPage('profil.php')"><ons-icon icon="md-account"></ons-icon></ons-toolbar-button>
     <ons-toolbar-button onclick="createAlertDialog()"><ons-icon icon="md-close"></ons-icon></ons-toolbar-button>

    An idea of the problem ?

    thank you