I am following the WIX example https://www.wix.com/corvid/example/collapse-elements
I created the all the container boxes and arrows with the exact same names and properties. I used the example code copy/paste, with the exception of figuring out “onClick” should be “click” for the Event.
Elements 2-4 work exactly as expected, they expand when clicked and close when another one is clicked/expands. Element 1 however will not stay expanded. Sometimes I can see it expand for a fraction of a second and then immediately collapse. It will collapse elements 2-4 as expected. I’m a noob at this so I might be missing something simple, appreciate any ideas/help. Code is below: