From 0e8f9cf6541c576ec00fa73f90a75d1aad2380ff Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sun, 31 Dec 2017 14:39:13 +0000 Subject: [PATCH 1/3] Update Image resizeMode=repeat docs for Android To go along with https://github.com/facebook/react-native/pull/17404 --- docs/image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/image.md b/docs/image.md index b148f711efb..21f63c88b81 100644 --- a/docs/image.md +++ b/docs/image.md @@ -249,7 +249,7 @@ Determines how to resize the image when the frame doesn't match the raw image di * `stretch`: Scale width and height independently, This may change the aspect ratio of the src. -* `repeat`: Repeat the image to cover the frame of the view. The image will keep it's size and aspect ratio. (iOS only) +* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio. | Type | Required | | ------------------------------------------------------- | -------- | From 7d7de3d6121e9991f23e87fa8da009a0993fbb39 Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sat, 27 Jan 2018 11:14:56 +0200 Subject: [PATCH 2/3] Describe actual Image resizeMode=repeat behaviour --- docs/image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/image.md b/docs/image.md index 21f63c88b81..6122ac79c5c 100644 --- a/docs/image.md +++ b/docs/image.md @@ -249,7 +249,7 @@ Determines how to resize the image when the frame doesn't match the raw image di * `stretch`: Scale width and height independently, This may change the aspect ratio of the src. -* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio. +* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio, unless it is larger than the view, in which case it will be scaled down uniformly. | Type | Required | | ------------------------------------------------------- | -------- | From 1f8a63bf3687d6840adf5e8efb57bec6cde8d28b Mon Sep 17 00:00:00 2001 From: Moti Zilberman Date: Sat, 27 Jan 2018 11:55:53 +0200 Subject: [PATCH 3/3] Clarify Image resizeMode=repeat wording --- docs/image.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/image.md b/docs/image.md index 6122ac79c5c..24b4c87b265 100644 --- a/docs/image.md +++ b/docs/image.md @@ -249,7 +249,7 @@ Determines how to resize the image when the frame doesn't match the raw image di * `stretch`: Scale width and height independently, This may change the aspect ratio of the src. -* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio, unless it is larger than the view, in which case it will be scaled down uniformly. +* `repeat`: Repeat the image to cover the frame of the view. The image will keep its size and aspect ratio, unless it is larger than the view, in which case it will be scaled down uniformly so that it is contained in the view. | Type | Required | | ------------------------------------------------------- | -------- |