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

Remove ReactScrollView Legacy Background Path #46168

Closed
wants to merge 6 commits into from

Conversation

NickGerleman
Copy link
Contributor

Differential Revision: D61658081

@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: D61658081

@react-native-bot
Copy link
Collaborator

react-native-bot commented Aug 22, 2024

Fails
🚫

❔ This pull request needs a description.

Generated by 🚫 dangerJS against a6bf453

@facebook-github-bot
Copy link
Contributor

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

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

Differential Revision: D61658081
NickGerleman and others added 6 commits September 16, 2024 15:30
Differential Revision: D61657253
Differential Revision: D61657251
Differential Revision: D61658083
Differential Revision: D61658080
Summary:
Pull Request resolved: facebook#46168

## This Diff

This removes the legacy path from ReactScrollView 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: tdn120

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 0fa7e01.

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