Home > other >  Surrounding content does not move when expanding Material UI Accordion
Surrounding content does not move when expanding Material UI Accordion

Time:07-12

I am working on an UI for a webapp that can have multiple projects open in one session. The logical component in the left navigation bar is an accordion, because the user may or may not want to view the list of active projects.

When collapsed, this looks good:
UI using collapsed Accordion

However, the expansion does not move the Divider down or resize the containing div and it looks like this:
UI using expanded Accordion

As you can see, the contents of the Accordion are showing below the Divider. I also do not like that it repositions the AccordionSummary when expanding, but I can deal with that later.

I have a enter image description here

Edit adoring-elion-7m29iv

  • Related