mirror of
https://github.com/status-im/react-native.git
synced 2025-01-29 18:54:58 +00:00
dbec6e1096
Summary: ImageBackground assigned its Image the same `width` and `height` styles as itself. This became an issue for ImageBackground instances that were assigned (non 100%) percentage size values. For example, if the `width` and/or `height` of the ImageBackground was set to be 50%, it would be half the size of the current component it is in (as intended), but the Image would be 50% of the ImageBackground, which is only 25% the size of the ImageBackground's parent component. Reviewed By: shergin Differential Revision: D9307123 fbshipit-source-id: cec3802d30b72c44f66dd3a53693ebd669cc8db4