Open Spatlani opened 8 years ago
As of the latest version, line 309 of angular-material-sidenav.js has the following condition
if (!$mdSidenav('left').isOpen() && open) {
return;
}
I've managed to get the desired behaviour by commenting that specific line.
Thanks ! I had the same problem through bower... This works by downloading the source via github and recovering the file to the root.
Thanks, It works after commenting. Will it be fixed in later builds?
What's the meaning of this anyway? I'd make a pull-request and just remove it, if it's doing trouble anyway.
Thanks LockonF . It works for me
Any fix on master
soon?
Thanks @LockonF, works for me.
gonna do the fix before the end of the day. Sorry guys for the late response.
Great, thanks @sovanna
Any news? @sovanna
@tiste I've looked and start from the beginning but didn't arrive to reproduce the bug. did you have the bug ? or maybe I just don't understand the description.
I did : git clone the project cd demo npm install bower install grunt serve and the demo work perfectly
It's not related to your demo but to projects which import a recent version of angular-material
.
For instance, I use a 1.0.9
and it fails. Hope that helps.
strange, I also angular-material 1.0.9, and I have the toggle menu, I click , the dropdown works.. don't understand the problem
@sovanna, i think this will solve the issue
if (!$mdSidenav('left').isLockedOpen() && !$mdSidenav('left').isOpen() && open) { return; }
I am using the demo code. When I try to open the toggle menu, the arrow icon changes but the dropdown doesn't work.
Need Help! Thanks.