Skip to content

Conversation

@christophpurrer
Copy link
Contributor

Summary:
Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Differential Revision: D87083023

@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 Nov 14, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 14, 2025

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87083023.

christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 14, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Differential Revision: D87083023
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 14, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Differential Revision: D87083023
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 14, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Differential Revision: D87083023
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 14, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Differential Revision: D87083023
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 14, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Reviewed By: sbuggay

Differential Revision: D87083023
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Reviewed By: sbuggay

Differential Revision: D87083023
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Nov 15, 2025
Summary:

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Reviewed By: sbuggay

Differential Revision: D87083023
@meta-codesync meta-codesync bot closed this in 376183e Nov 15, 2025
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Nov 15, 2025
@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @christophpurrer in 376183e

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

@meta-codesync
Copy link

meta-codesync bot commented Nov 15, 2025

This pull request has been merged in 376183e.

douglowder pushed a commit to react-native-tvos/react-native-tvos that referenced this pull request Nov 15, 2025
Summary:
Pull Request resolved: facebook/react-native#54545

Changelog: [Internal]

Currently these default values

https://reactnative.dev/docs/image#resizemethod-android
https://reactnative.dev/docs/image#resizemultiplier-android

are not correctly treated in C++ code as parsing bails out here:

https://github.com/facebook/react-native/blob/main/packages/react-native/ReactCommon/react/renderer/core/propsConversions.h#L176-L177

By setting default values in the struct, we can fix it

Reviewed By: sbuggay

Differential Revision: D87083023

fbshipit-source-id: b8e16d0f6732392bafee01848c1c516e91ab806b
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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants