fix inert state on active carousel slide (#39741)

This commit is contained in:
Sharlayan authored and GitHub committed 2026-07-07 07:47:03 +00:00
1 parent a51aa60519
commit 90b3aedb9a
1 file changed
+1 -1
@@ -235,7 +235,7 @@ const CarouselSlideWrapper = <SlideProps extends CarouselSlideProps>({
className={className}
role='group'
aria-roledescription='slide'
inert={active}
inert={!active}
data-index={index}
>
{children}