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

Enable BackgroundStyleApplicator and boxShadow for View #45832

Closed
wants to merge 5 commits into from

Conversation

NickGerleman
Copy link
Contributor

Summary:
The main one! This allows box-shadow to be used in View, and uses BackgroundStyleApplicator (if flag is enabled) for background management.

Changelog: [Internal]

Differential Revision: D60491176

NickGerleman and others added 5 commits July 30, 2024 17:43
Summary:
`ReadableArray` here should be nullable, according to https://reactnative.dev/docs/next/native-components-android#3-expose-view-property-setters-using-reactprop-or-reactpropgroup-annotation

That form will be used to reset state, back to no box shadows.

Changelog: [Internal]

Differential Revision: D60465486
Summary:
Like the previous diffs, but for Text!

Changelog: [Internal]

Differential Revision: D60488060
Summary:
Like the previous diffs, but for TextInput!

Changelog: [Internal]

Differential Revision: D60489444
Summary:
`ReactViewBackgroundManager` will do this for us (and otherwise doesn't do anything draw related), but this will be removed when BackgroundStyleApplicator is rolled out, and not all callers use `ReactViewBackgroundManager`.

Changelog:
[Android][Fixed]

Differential Revision: D60489756
Summary:
The main one! This allows box-shadow to be used in View, and uses BackgroundStyleApplicator (if flag is enabled) for background management.

Changelog: [Internal]

Differential Revision: D60491176
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 31, 2024
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D60491176

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in fdfa0b1.

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants