I'd prototyping for a web application, and I'd like to have a side navigation drawer that contains a clickable, dropdown label that pushes the other labels down and up as it's interacted with. Trouble being that it seems to work in Design mode, but when I go to preview the interaction breaks.
I have the entire menu as a component in one state, and have a dropdown component that starts as 1 label and goes back and forth between closed and expanded with an open state. The lables are vertically stacked. Can anyone help me diagnose this, or maybe with an easier alternative to my problem?
Thank you for reaching out. I found a tutorial on the web: https://www.youtube.com/watch?v=tNnYNI8giFo which might help you. I am also keeping the discussion open for our experts if they would like to share any suggestions.