-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(Carousel): Allows index as number only #13048
fix(Carousel): Allows index as number only #13048
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add breaking change changelog entry for the prop type change
@@ -306,15 +307,11 @@ export const Carousel: React.FC<WithAsProp<CarouselProps>> & | |||
unmountOnExit | |||
visible={active} | |||
name={ | |||
initialMounting | |||
initialMounting || !active |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding this in this PR ❤️
Please add to PR description why this change is needed |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 74a66ffe2c378e953a9d94e67d2230477baee534 (build) |
Pull request checklist
$ yarn change
Description of changes
Carousel active index as only number to avoid cast and conflicts with animations
Focus areas to test
(optional)
Microsoft Reviewers: Open in CodeFlow