Hi !
Thank you for 5.3
Note: i don’t use any static “id” in my webix app. Webix version: 5.3 PRO
In my app, i need to dynamicaly generate a menu (in fact, datatable context menu). So create it, show it and destroy it. This menu sometime include submenu(s).
It seem’s that submenu are not removed from the DOM tree when calling destructor()
https://snippet.webix.com/8qszj9td
Click the button to open the menu, then expand the first submenu, then click somewhere else to destroy the submenu. You will see that submenu stay in the DOM tree (main menu is removed as expected)
To avoid submenu staying in the DOM tree i made something like that:
https://snippet.webix.com/58px2zqf
Is it a little bug ? is there another best way to be sure that submenu will not stay in the DOM tree ?
Thank you