I wanted to first say this component is really nice in the amount of customization and events that are available. One quick note is that the autoHeight property seems to have no effect in general and I have to set the item height manually or items overlap.
My intent for this post is to talk about sub items for the menu. When I add these, I have to calculate the maximum space in the menu and then extend the vertical size at design time to allow for this growth or vertical scroll bars will appear at run-time. The issue comes in when I have a background colour for the menu and even in the theme use where there is all this blank space at the bottom of the menu to account for the potential for growth.
As a general suggestion, it would be nice to have an option to grow the sub menu items out to the right instead of inline accordion mode. Within the current construct however is there a trick to get the menu container to grow as needed for what is selected by the user? I can add this programatically based on a calculation of item height or something similar but it would be nice to have this menu grow as needed as part of the tool.
Cheers!