Skip to content

Conversation

NickGerleman
Copy link
Contributor

Differential Revision: D61658083

@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 Aug 22, 2024
@facebook-github-bot
Copy link
Contributor

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

@react-native-bot
Copy link
Collaborator

react-native-bot commented Aug 22, 2024

Fails
🚫

❔ This pull request needs a description.

Generated by 🚫 dangerJS against e18cc3f

@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 3, 2024
Summary: Pull Request resolved: facebook#46171

Differential Revision: D61658083
NickGerleman and others added 3 commits September 16, 2024 15:30
Differential Revision: D61657253
Differential Revision: D61657251
Summary:
Pull Request resolved: facebook#46171

## This Diff

This removes the legacy path from ReactTextView and its view manager.

## This Stack

This removes the non-Style-applicator background management paths of the different native components. There have been multiple conflicting changes, and bugs added bc harder to reason about, which motivates making this change as soon as possible. This also lets us formalize guarantees that BaseViewManager may safely manipulate background styling of all built in native components.

There is one still known issue, where BackgroundStyleApplicator does not propagate I18nManager derived layout direction to borders (compared to Android derived root direction). This is mostly an issue for apps that with LTR and RTL context, or force a layout direction, which I would guess is relatively rare, so my plan is to forward fix this later this by enabling set_android_layout_direction which will solve that problem mopre generically.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D61658083
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Sep 17, 2024
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in b4d2829.

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.

3 participants