You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
React Native Image component should support aspectRatio style ( from LayoutProps ).
Expected behavior
Image should change the aspectRatio.
Steps to reproduce
Using React Native version 0.71.12
Copy the snippet code from codesnadbox run it on mobile, the Image aspectRatio will change.
Run in the browser (tested on Arc and Chrome) the Image aspectRatio isn't changed.
Is there an existing issue for this?
Describe the issue
React Native
Image
component should supportaspectRatio
style ( fromLayoutProps
).Expected behavior
Image
should change theaspectRatio
.Steps to reproduce
Using React Native version
0.71.12
Copy the snippet code from
codesnadbox
run it on mobile, the ImageaspectRatio
will change.Run in the browser (tested on
Arc
andChrome
) the ImageaspectRatio
isn't changed.Test case
https://codesandbox.io/p/sandbox/condescending-ramanujan-rsddnn
Additional comments
The
aspectRatio
prop should be supported, it appears in theLayoutStyles
, link.Results from mobile, tested on
iPhone 15, IOS 17.4
The text was updated successfully, but these errors were encountered: