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 handling of negative flex gap #39596

Closed
wants to merge 1 commit into from

Conversation

NickGerleman
Copy link
Contributor

Summary: I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Differential Revision: D49530494

@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 fb-exported labels Sep 22, 2023
@facebook-github-bot
Copy link
Contributor

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

@analysis-bot
Copy link

analysis-bot commented Sep 22, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 16,902,912 +0
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 20,381,654 -10
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: df492cc
Branch: main

NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 26, 2023
Summary:
X-link: facebook/react-native#39596

Pull Request resolved: facebook#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 81ac659482689911f6fc3b11b671af6950d0bd43
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39596

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 52fd822d642b9470b9ec24784a85d41915a7f265
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 26, 2023
Summary:
X-link: facebook/react-native#39596

Pull Request resolved: facebook#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: aa87547419e92d733487360db4c8937f9a9e757f
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 26, 2023
Summary:
Pull Request resolved: facebook#39596

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 94592944ef35017b2468395fa3ad1817ef0d9841
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Sep 28, 2023
Summary:
X-link: facebook/react-native#39596

Pull Request resolved: facebook#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: ac9e1e83e9c98bd7e20e1e861852b68e4b6117e7
@facebook-github-bot
Copy link
Contributor

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

NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Sep 28, 2023
Summary:
Pull Request resolved: facebook#39596

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 7ac7fd163a61616ae7897ca7da3e52f920120e8d
@NickGerleman NickGerleman force-pushed the export-D49530494 branch 2 times, most recently from 10155c6 to 1c9038d Compare October 1, 2023 01:54
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 1, 2023
Summary:

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

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

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

Summary:

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494
NickGerleman added a commit to NickGerleman/yoga that referenced this pull request Oct 1, 2023
Summary:
X-link: facebook/react-native#39596


I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

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

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

@github-actions
Copy link

github-actions bot commented Oct 1, 2023

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

Generated by 🚫 dangerJS against 1c9038d

facebook-github-bot pushed a commit to facebook/yoga that referenced this pull request Oct 1, 2023
Summary:
X-link: facebook/react-native#39596

Pull Request resolved: #1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 069db7312f72a085c5c4b01ead7bc66a353a07e5
facebook-github-bot pushed a commit to facebook/litho that referenced this pull request Oct 1, 2023
Summary:
X-link: facebook/react-native#39596

X-link: facebook/yoga#1405

I noticed that we weren't clamping negative flex gap values to zero. This fixes that bug.

Reviewed By: rshest

Differential Revision: D49530494

fbshipit-source-id: 069db7312f72a085c5c4b01ead7bc66a353a07e5
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Oct 1, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in aa65e92.

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