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.
Here is my SlidebarMenu:
After I click “How It Works” the debugger opens:
But then it acts as if the “How It Works” option is not set and never reaches the next stage of the workflow (the set state stage).