Skip to content

Fix handling of negative flex gap - #1405

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

Copy link
Copy Markdown
Contributor

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

@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: 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
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
NickGerleman added a commit to NickGerleman/react-native that referenced this pull request Oct 1, 2023
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
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in b03a821.

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 pushed a commit to react/react-native that referenced this pull request Oct 1, 2023
Summary:
Pull Request resolved: #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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants