Skip to content

Commit

Permalink
fixed #7157 p-sidebar dimissable flag is not re-evaluated when its va…
Browse files Browse the repository at this point in the history
…lue changes
  • Loading branch information
yigitfindikli committed Jan 22, 2019
1 parent 646f9c6 commit 7994628
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/components/sidebar/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ export class Sidebar implements AfterViewInit, AfterViewChecked, OnDestroy {

if(this.dismissible){
this.maskClickListener = this.renderer.listen(this.mask, 'click', (event: any) => {
this.close(event);
if (this.dismissible) {
this.close(event);
}
});
}

Expand Down

0 comments on commit 7994628

Please sign in to comment.