flexBasis Not Reflecting Updated State Value in Style #47979
Labels
0.76
Impact: Bug
The issue represents a bug somewhere
Impact: Regression
Describes a behavior that used to work on a prior release, but stopped working recently.
Type: New Architecture
Issues and PRs related to new architecture (Fabric/Turbo Modules)
Description
When dynamically updating a state variable (flexBasisValue) with percentage values and using it in the style prop for components, the updated value is not reflected visually. This issue occurs in React Native latest
0.76.2v
but works as expected in React Native0.74.5v
.Steps to reproduce
npm i
npm start -c
React Native Version
0.76.2
Affected Platforms
Runtime - Android, Runtime - iOS
Areas
Other (please specify)
Output of
npx react-native info
Stacktrace or Logs
Reproducer
for RN 0.74.5 - https://github.com/rajat693/expo51-flexbasis, for RN 0.76.2 - https://github.com/rajat693/expo52-flexbasis
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: