react-native icon indicating copy to clipboard operation
react-native copied to clipboard

`Image` and `ImageBackground` unexcepted behavior.

Open hossein-zare opened this issue 4 years ago • 1 comments

Description

ImageBackground / Image on the same screen with different behaviors:

  1. on the Login screen of my app. Everything is good.
  2. I log into my account. Then I close and reopen the app and log out, its navigated to the Login screen and The component has shrunk.

This also happens on other screens.

1

Code:

<Image
  source={BACKGROUND_IMAGE}
  resizeMode="repeat"
  style={styles.backgroundImage}
/>

const styles = StyleSheet.create({
  backgroundImage: {
    position: "absolute",
    top: 0,
    left: 0,
    width: "100%",
    height: "100%",
  },
});

React Native version:

react: 17.0.1 => 17.0.1
react-native: 0.64.1 => 0.64.1

hossein-zare avatar Jun 04 '21 21:06 hossein-zare

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Feb 05 '24 05:02 github-actions[bot]

This issue was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Feb 12 '24 05:02 github-actions[bot]