I cloned official angular 2.0 quick start projectand try to add side-navigation panel. I created simple component wich contains following:
export class AppComponent {
menuVisible: boolean = false;
toggleVisible() { this.menuVisible = !this.menuVisible; }
}
And simple template (pug):
side-navigation([class.visible]="menuVisible === true")
div(*ngIf="!menuVisible", (click)="toggleVisible()", style="cursor: pointer; font-size:1vw") ☰
ul(*ngIf="menuVisible")
But when I've tried to test this component I get weird issue: Sometimes I click the open dide panel button in Google Chrome (just for example this issue does not depend on any browser), I see that side-navigation bar opens in another browser (Edge). I don't know how to fix it. Is it my problem or some kind of bug?