If it is possible to add support when clicking other menu with child menu, any other expended should be collapsed automatically.

Which means only one instance of child menu items is expanded.

It may provide an on/off option in module settings for flexibility