In this codepen, I’ve added an accordion menu in the side menu. It works fine except that on a narrow screen that has side menu hiding, expanding the accordion item also hides the menu. I added an event.stopPropagation to toggleGroup(), but that doesn’t fix it. Any ideas?
@lannie, this happens because you have the “menu-close” attribute in your list’s div tags.
see http://ionicframework.com/docs/api/directive/menuClose/ for more information.
In this case, stopPropagation is apparently not nessesary.
Note that you have a bug of show/hide your group items. The items you are loading under the parent “A few” are loading only at the first time. Also, check your plus/minus icons…
Thank you for the solution + code review, Meni!