Skip to content

Commit fc09c54

Browse files
jeanregisserfacebook-github-bot
authored andcommitted
Document image blurRadius is working on Android too
Summary: Hi, I saw blurRadius is now working on Android. Updated the doc to show it. It is available since 0.44, see facebook@0b34809 See RNTester screenshot on Android: ![blur-android](https://cloud.githubusercontent.com/assets/57791/26244353/97fa4f96-3c8f-11e7-8910-5c60f5ad93fc.png) Also I noticed it's a bit different than on iOS: ![blur-ios](https://cloud.githubusercontent.com/assets/57791/26244396/bbaf9158-3c8f-11e7-96cc-534d8ee042fb.png) Looking briefly at the code, it looks like it's caused by the fact that the Android version applies blur to the original image data in full size (and applies `PixelUtil.toPixelFromDIP(blurRadius)`), but the iOS version applies it to the resized version. I'll open an issue for this. Closes facebook#14055 Differential Revision: D5103240 Pulled By: javache fbshipit-source-id: 16d8c8755cd27a4f13c28e8831017733327ca491
1 parent 872fbc2 commit fc09c54

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Libraries/Image/Image.ios.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ const Image = React.createClass({
181181
accessibilityLabel: PropTypes.node,
182182
/**
183183
* blurRadius: the blur radius of the blur filter added to the image
184-
* @platform ios
185184
*/
186185
blurRadius: PropTypes.number,
187186
/**

0 commit comments

Comments
 (0)