[joy-ui][Accordion] First/Last style problems #40548
Labels
component: accordion
This is the name of the generic UI component, not the React module!
on hold
There is a blocker, we need to wait
package: joy-ui
Specific to @mui/joy
Steps to reproduce
Link to live example: https://codesandbox.io/p/sandbox/joyui-accordion-first-last-6k8zvz
Steps:
Current behavior
The first and last Accordion items are not set properly (data-first-child and data-last-child are not set).
While hovered, first's/last's backgrounds overlap with the border. And the last child is displaying an extra border.
Expected behavior
Same style as normal use.
Context
Using the latest version of JoyUI (5.0.0-beta.22)
Found this maybe-related issue: #40272
The text was updated successfully, but these errors were encountered: