wave icon indicating copy to clipboard operation
wave copied to clipboard

Accordion shows unwanted dividers when expanded

Open martimalek opened this issue 4 years ago • 2 comments

  • @freenow/wave version: 1.16.0

Relevant code

There is a <HorizontalDividerTop /> in line 39 of Accordion.tsx and a <HorizontalDividerBottom /> in line 63 of Accordion.tsx

What was expected to happen?

The two dividers should not render when the default component is expanded

Reproduction

You can see the current behaviour in Wave's accordion page

Screenshot 2021-10-25 at 14 08 41

Link to Figma

martimalek avatar Oct 25 '21 12:10 martimalek

@martimalek What two dividers should not be expected to be rendered here (I see three dividers)? The one in the middle should be there?

lloydaf avatar Nov 23 '21 09:11 lloydaf

@lloydaf Yes, the one in the middle should be there, the other two should not

martimalek avatar Nov 23 '21 09:11 martimalek