How to build an accordion menu with switch and text below?
- June 25, 2022
- 1 respuesta
- 2193 visualizaciones
Hello everyone,
I am currently trying to build an accordion menu. Here I have two problems:
1. Problem:
Below the accordion menu is text. As soon as I open an accordion item and the accordion menu grows, it overlays the text that is placed below the accordion menu. How can I make it that the text below the accordion moves with it instead of overlaying?
2. Problem:
An accordion consists of different items. These items are divided into 'header' and 'content' (which is visible or invisible for the User depending on the interaction). Now I want to implement a switch in my header element so the User can click on the header once to expand and collapse the content and additionally he has the possibility to make settings with the help of the switch to approve or reject the content. Here I always have the problems that the switch does not work properly, but sometimes also reacts to the fade in and out of the content. I already have chosen different interactions for both areas. Do you know any advice?
I would be very grateful for your help. I am slowly very desperate.
Many thanks in advance.
<Title renamed by moderator>
