Accordion with nested select menu bug

Hi everyone, I’m having a problem with nested components. I’m working on a prototype and created a menu that allows you to select a sweetness type. Then I took that menu and nested it within an accordion component.

Problem: Whenever I run the project, the accordion opens as it should but if I select a item from the menu, it shows only the menu component and the accordion disappears.

Function I’m trying to achieve: I want a user to be able to open the accordion, select a sweetness level, then close the accordion.

I don’t understand why the accordion keeps disappearing, can anyone help explain why thats happening? Here is my project: