Skip to content

fix(Primitive): fix merge props #1936

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

Merged
merged 1 commit into from
May 27, 2025
Merged

Conversation

kricsleo
Copy link
Collaborator

resolves #1931

This PR changes how props are merged in Primitive.
Previously manually deleting firstNonCommentChildren.props.class would cause the class to be missing in some edge cases.

Copy link

pkg-pr-new bot commented May 24, 2025

Open in StackBlitz

npm i https://pkg.pr.new/reka-ui@1936

commit: 61f3f77

@zernonia zernonia merged commit d8cb890 into unovue:v2 May 27, 2025
5 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.

[Bug]: Slot/Primitive merged classes get removed when component prop changes
2 participants