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

Fix issue where position insets were not working with row reverse #41041

Closed
wants to merge 1 commit into from

Conversation

joevilches
Copy link
Contributor

@joevilches joevilches commented Oct 17, 2023

Differential Revision: D50390543

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

@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 Oct 17, 2023
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

joevilches pushed a commit to joevilches/react-native that referenced this pull request Oct 17, 2023
…cebook#41041)

Summary:

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

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

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

joevilches added a commit to joevilches/yoga that referenced this pull request Oct 17, 2023
…cebook#1431)

Summary:
Pull Request resolved: facebook#1431

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Differential Revision: D50390543

fbshipit-source-id: e42bed4f030935bff2cf12d049e13c77b3f11a18
@analysis-bot
Copy link

analysis-bot commented Oct 18, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 17,640,833 +555
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 21,018,466 +542
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 9f4d66d
Branch: main

joevilches pushed a commit to joevilches/yoga that referenced this pull request Oct 18, 2023
…cebook#1431)

Summary:

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

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

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

joevilches pushed a commit to joevilches/react-native that referenced this pull request Oct 18, 2023
…cebook#41041)

Summary:
X-link: facebook/yoga#1431


The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543
…cebook#41041)

Summary:
X-link: facebook/yoga#1431


The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543
joevilches pushed a commit to joevilches/react-native that referenced this pull request Oct 18, 2023
…cebook#41041)

Summary:
X-link: facebook/yoga#1431


The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543
joevilches pushed a commit to joevilches/yoga that referenced this pull request Oct 18, 2023
…cebook#1431)

Summary:

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

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

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

joevilches pushed a commit to joevilches/yoga that referenced this pull request Oct 18, 2023
…cebook#1431)

Summary:

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

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

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

@github-actions
Copy link

github-actions bot commented Oct 18, 2023

Warnings
⚠️ One hour and a half have passed and the E2E jobs haven't finished yet.

Generated by 🚫 dangerJS against 8dc06e5

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 25575e5.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 19, 2023
facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Oct 19, 2023
)

Summary:
Pull Request resolved: #1431

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543

fbshipit-source-id: b714deab8489fbe11f7f6db21e4aad3b3aa314b3
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Oct 19, 2023
Summary:
X-link: facebook/yoga#1431

X-link: facebook/react-native#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543

fbshipit-source-id: b714deab8489fbe11f7f6db21e4aad3b3aa314b3
Othinn pushed a commit to Othinn/react-native that referenced this pull request Oct 30, 2023
…cebook#41041)

Summary:
X-link: facebook/yoga#1431

Pull Request resolved: facebook#41041

The last of the row-reverse issues hurray!

The position insets were broken with row-reverse since we were using the main-start/main-end edges to inset from and NOT the inline-start/inline-end edges as we should. This made it so that inset in left and right were swapped and same with top and bottom (with column-reverse). The solution here is the same as the previous ones were we are migrating to using inline-start/end as the leading/trailing edge now.

Reviewed By: NickGerleman

Differential Revision: D50390543

fbshipit-source-id: b714deab8489fbe11f7f6db21e4aad3b3aa314b3
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