Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In Configuration > DHTML Menu" the option "When a menu opens: Close other open menus in the same tree." doesn't work if "Remember which sub-items were expanded when it next opens" is enabled.
When a menu closes
- Remember which sub-items were expanded when it next opens.
- Close all its sub-items, too."
BAD
GOOD
Hope it helps