InfomediaLtd / angular2-materialize

Angular 2 support for Materialize CSS framework.
https://infomedialtd.github.io/angular2-materialize/
MIT License
407 stars 140 forks source link

truble with nav and sidenav-overlay #368

Closed Sb8691 closed 7 years ago

Sb8691 commented 7 years ago

Servus

I use this libary and it's great. I have just one little issue with my navbar after .side-nav is opend i click for example on /login angular renders template correctly

but on the bottom is element :

<div id="sidenav-overlay" style="opacity: 1;" class=""></div>

and after redirect it should set opacity do 0 and remove element but it's not working. I provide my example navabar. I tried to use it with native angular router and than also inside click function, still the same result.

Thanx for help.

`

`

Sb8691 commented 7 years ago

Anyone who has similar issue: [materializeParams]="[{edge:'left', closeOnClick:true}]" -> close on click true deal withit