Skip to content

Fix handling of negative flex gap - #39596

Closed
NickGerleman wants to merge 1 commit into
react:mainfrom
NickGerleman:export-D49530494
Closed

NickGerleman wants to merge 1 commit into
react:mainfrom
NickGerleman:export-D49530494

Conversation

@NickGerleman

Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

@analysis-bot

analysis-bot commented Sep 22, 2023 •

Copy link
Copy Markdown
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: react/react-native#39596

Pull Request resolved: react#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
Copy Markdown
Contributor

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

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

Pull Request resolved: react#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
Copy Markdown
Contributor

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

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

Pull Request resolved: react#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
Copy Markdown
Contributor

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

@NickGerleman
NickGerleman force-pushed the export-D49530494 branch 2 times, most recently from 10155c6 to 1c9038d Compare October 1, 2023 01:54
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

Summary:

X-link: react/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: react/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
Copy Markdown
Contributor

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

@github-actions

github-actions Bot commented Oct 1, 2023

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

Generated by 🚫 dangerJS against 1c9038d86faafb48983dda9c9c3b3a63611e9c71

facebook-github-bot pushed a commit to react/yoga that referenced this pull request Oct 1, 2023
Summary:
X-link: react/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: react/react-native#39596

X-link: react/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
Copy Markdown
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