Skip to content
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]: Accordion needs to reference Accordion Item Base class so extending either item class works with Accordion #32117

Merged

Conversation

eljefe223
Copy link
Contributor

Previous Behavior

When I added an BaseAccordionItem I did not account for the AccordionItem type checks in the Accordion class. This meant that if you composed a component based off of BaseAccordionItem and used it with Accordion core functionality would break because it was type checking against AccordionItem class.

New Behavior

Swaps checks in Accordion to check for BaseAccordionItem instead.

Related Issue(s)

  • Fixes #

@eljefe223 eljefe223 requested a review from a team as a code owner July 25, 2024 23:41
@fabricteam
Copy link
Collaborator

📊 Bundle size report

✅ No changes found

@fabricteam
Copy link
Collaborator

🕵 fluentui-web-components-v3 No visual regressions between this PR and main

@eljefe223 eljefe223 merged commit 29df426 into microsoft:master Jul 26, 2024
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants