You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using MetisMenu in an angular app, and ran into the problem described in #22 and #116 where metismenu no longer shows children when clicking on parents when loading data asynchronously.
I have tried the suggestion of first disposing the menu, loading the data and re-initialising the data but still child sections do not show when clicking on the parent. I have also tried different disposing, setting and re-initialising the menu but nothing works. It works well when the data is loaded synchronously
Version: 2.7.1
I am using MetisMenu in an angular app, and ran into the problem described in #22 and #116 where metismenu no longer shows children when clicking on parents when loading data asynchronously.
I have tried the suggestion of first disposing the menu, loading the data and re-initialising the data but still child sections do not show when clicking on the parent. I have also tried different disposing, setting and re-initialising the menu but nothing works. It works well when the data is loaded synchronously
html
code that loads data async
Observable.fromPromise(this.getMenuData()) .subscribe((response) => { $(".metismenu").metisMenu('dispose'); this.menuitems = response $(".metismenu").metisMenu(); })
Please give a suggestion on how to get this working asynchronously.
The text was updated successfully, but these errors were encountered: