I use multiple Actionsheets that are open and close with buttons. But i need only open one Actionsheet at a time. So i open one, i open a second, and the other has to close. But this didn't work. I search the code and added "foundationApi.closeActiveElements();" on line 95 in foundation-apps/js/angular/components/actionsheet/actionsheet.js
function toggle() {
content.toggle();
container.toggle();
foundationApi.closeActiveElements();
content.$apply();
container.$apply();
}
And now if i open another Actionsheet, a already open Actionsheet closed. Maybe a option for the zf-action-sheet-tag
I use multiple Actionsheets that are open and close with buttons. But i need only open one Actionsheet at a time. So i open one, i open a second, and the other has to close. But this didn't work. I search the code and added "foundationApi.closeActiveElements();" on line 95 in foundation-apps/js/angular/components/actionsheet/actionsheet.js
And now if i open another Actionsheet, a already open Actionsheet closed. Maybe a option for the zf-action-sheet-tag