Browse Source

Merge branch 'master' into docs/url-change

Thibault Malbranche 6 years ago
parent
commit
492be021d2
No account linked to committer's email address

+ 2
- 0
android/src/main/java/com/reactnativecommunity/webview/RNCWebViewManager.java View File

290
   public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
290
   public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
291
     if (disabled) {
291
     if (disabled) {
292
       view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
292
       view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
293
+    } else {
294
+      view.setLayerType(View.LAYER_TYPE_NONE, null);
293
     }
295
     }
294
   }
296
   }
295
 
297
 

+ 1
- 1
package.json View File

8
     "Thibault Malbranche <malbranche.thibault@gmail.com>"
8
     "Thibault Malbranche <malbranche.thibault@gmail.com>"
9
   ],
9
   ],
10
   "license": "MIT",
10
   "license": "MIT",
11
-  "version": "5.8.1",
11
+  "version": "5.8.2",
12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
12
   "homepage": "https://github.com/react-native-community/react-native-webview#readme",
13
   "scripts": {
13
   "scripts": {
14
     "ci": "CI=true && yarn lint && yarn test",
14
     "ci": "CI=true && yarn lint && yarn test",