Skip to content

feat: add viewport size to LayoutContext class#56209

Closed
paradowstack wants to merge 1 commit intofacebook:mainfrom
paradowstack:feat/viewport-size
Closed

feat: add viewport size to LayoutContext class#56209
paradowstack wants to merge 1 commit intofacebook:mainfrom
paradowstack:feat/viewport-size

Conversation

@paradowstack
Copy link
Copy Markdown
Contributor

Summary:

Add viewport size to LayoutContext and wire it through Android and iOS layout setup so viewport dimensions are available during layout.

This was extracted from the larger calc() work in PR #56162.

Changelog:

[GENERAL] [ADDED] - Add viewport size to LayoutContext

Test Plan:

  • This change is limited to internal layout plumbing in React Native core and does not alter external behavior on its own.
  • Validation for the actual calc() use cases will be covered in the follow-up work that consumes this plumbing.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Mar 24, 2026
@facebook-github-tools facebook-github-tools bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Mar 24, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 24, 2026

@NickGerleman has imported this pull request. If you are a Meta employee, you can view this in D98004758.

@meta-codesync meta-codesync bot closed this in d38c756 Mar 27, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @paradowstack in d38c756

When will my fix make it into a release? | How to file a pick request?

@facebook-github-tools facebook-github-tools bot added the Merged This PR has been merged. label Mar 27, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Mar 27, 2026

@NickGerleman merged this pull request in d38c756.

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. Merged This PR has been merged. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants