Skip to content

fix: stylex.attrs doesn't work with dynamic styles when using multi-word properties#1711

Open
chbybnwr wants to merge 2 commits into
facebook:mainfrom
chbybnwr:main
Open

fix: stylex.attrs doesn't work with dynamic styles when using multi-word properties#1711
chbybnwr wants to merge 2 commits into
facebook:mainfrom
chbybnwr:main

Conversation

@chbybnwr

@chbybnwr chbybnwr commented Jun 14, 2026

Copy link
Copy Markdown

fix: stylex.attrs doesn't work with dynamic styles when using multi-word properties

What changed / motivation ?

exclude generated custom properties set in style prop/attr from being converted to kebab case, to sync with the ones used in generated CSS.

Linked PR/Issues

Fixes #1709

Additional Context

Issue reproduction

Pre-flight checklist

@chbybnwr chbybnwr requested review from mellyeliu and nmn as code owners June 14, 2026 13:11
@meta-cla

meta-cla Bot commented Jun 14, 2026

Copy link
Copy Markdown

Hi @chbybnwr!

Thank you for your pull request and welcome to our community.

Action Required

In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

@chbybnwr is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

stylex.attrs doesn't work with dynamic styles when using multi-word properties

1 participant