I am running into some difficulty with the Bubble SlidebarMenu plugin. I am making a Single Page Application and I want to change my app’s state when certain SlidebarMenu options are pressed. For example, when “How It Works” is pressed, I want to set the Index’s screen state to “How It Works”. This should cause the How It Works screen to appear.
The problem is that when I press “How It Works” the SlidebarMenu’s current option isn’t changed to “How It Works”. This is the problem. It seems like the current option isn’t changing onClick. You can see that this is the case in the attached screen shots.
I know that the group hiding logic works because when I attach the workflow to another random element click it works. For example, I made a temporary button with the same workflow logic as the SlideMenu and it works. This proves that the problem is the SlideBar isn’t registering “How It Works” as a current option when it’s clicked.
Insert the menu element and insert the option (check that you don’t have extra spaces)
Make a workflow for the menu and insert the action “set state How It Works” and set the condition (when current option is “How It Works” on the action, not on the workflow.