Monaca Onsen UI Discord Chat Github Repo

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.

    0_1572798643016_bug2.png

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

    0_1572798647537_bug1.png

    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