Skip to content

Parent Component's layout props not forwarded to the child component #14559

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

Open
vineethkuttan opened this issue Apr 17, 2025 · 2 comments
Open
Labels
Area: Layout bug Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Milestone

Comments

@vineethkuttan
Copy link
Contributor

vineethkuttan commented Apr 17, 2025

Problem Description

In the RNTester app, A component which will adjust font size based on layout height is not working cause when modifying the parent layout prop it is not getting reflected in the child layout.

The changes have to be made in FabricUIManager.cpp I believe

screenshare video:

ChildLayout.mp4

Steps To Reproduce

It can be checked in RN tester App Fabric

Expected Results

The fontSize should be adjusted according, to the height.

After this #14519 pull request got merged.

CLI version

15.0.0-alpha.2

Environment

System:
  OS: Windows 11 10.0.26100
  CPU: "(16) x64 AMD EPYC 7763 64-Core Processor                "
  Memory: 44.96 GB / 63.95 GB
Binaries:
  Node:
    version: 22.14.0
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.22
    path: C:\ProgramData\global-npm\yarn.CMD
  npm:
    version: 10.9.2
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK:
    AllowDevelopmentWithoutDevLicense: Enabled
    Versions:
      - 10.0.19041.0
      - 10.0.22621.0
IDEs:
  Android Studio: Not Found
  Visual Studio:
    - 17.13.35931.197 (Visual Studio Enterprise 2022)
Languages:
  Java: Not Found
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Community Modules

No response

Target Platform Version

None

Target Device(s)

No response

Visual Studio Version

None

Build Configuration

None

Snack, code example, screenshot, or link to a repository

No response

@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) label Apr 17, 2025
@chiaramooney chiaramooney added Area: Layout Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs. and removed Needs: Triage 🔍 New issue that needs to be reviewed by the issue management team (label applied by bot) labels Apr 17, 2025
@chiaramooney
Copy link
Contributor

Does this issue still occur after you've made the requested changes to #14519?

@vineethkuttan
Copy link
Contributor Author

vineethkuttan commented Apr 20, 2025

Does this issue still occur after you've made the requested changes to #14519?

Yes. It does. Also #14443 is a similar issue I believe, not sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Layout bug Workstream: Component Parity Close the parity gap between RNW and RN for core RN components and their supporting APIs.
Projects
Status: No status
Development

No branches or pull requests

2 participants