mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
fc09c54324
Summary:
Hi,
I saw blurRadius is now working on Android. Updated the doc to show it.
It is available since 0.44, see 0b348095b6
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 https://github.com/facebook/react-native/pull/14055
Differential Revision: D5103240
Pulled By: javache
fbshipit-source-id: 16d8c8755cd27a4f13c28e8831017733327ca491