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

Accordion Root Exclude color_scheme and variant props in tag #2664

Merged
merged 6 commits into from
Feb 20, 2024

Conversation

ElijahAhianyo
Copy link
Contributor

@ElijahAhianyo ElijahAhianyo commented Feb 19, 2024

This PR removes the color_scheme and variant props before adding props to the accordion root tag. This is because the aforementioned props are only used to dynamically curate a theme style and do not have any effect being added to the rendered Tag. It also fixes the warning in the console log reported in the linked issue to this pr.

Fixes #2657

@ElijahAhianyo ElijahAhianyo marked this pull request as ready for review February 19, 2024 17:54
Copy link
Collaborator

@masenf masenf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't notice this earlier

@masenf masenf merged commit eeff414 into main Feb 20, 2024
45 checks passed
@masenf masenf deleted the elijah/exclude-props branch February 20, 2024 17:57
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.

[REF-1996] Setting radix accordion.root.color_scheme gives javascript warning
2 participants