Merge branch 'master' into docs/url-change
This commit is contained in:
commit
492be021d2
|
@ -290,6 +290,8 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||||
public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
|
public void setHardwareAccelerationDisabled(WebView view, boolean disabled) {
|
||||||
if (disabled) {
|
if (disabled) {
|
||||||
view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
view.setLayerType(View.LAYER_TYPE_SOFTWARE, null);
|
||||||
|
} else {
|
||||||
|
view.setLayerType(View.LAYER_TYPE_NONE, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
"Thibault Malbranche <malbranche.thibault@gmail.com>"
|
"Thibault Malbranche <malbranche.thibault@gmail.com>"
|
||||||
],
|
],
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"version": "5.8.1",
|
"version": "5.8.2",
|
||||||
"homepage": "https://github.com/react-native-community/react-native-webview#readme",
|
"homepage": "https://github.com/react-native-community/react-native-webview#readme",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"ci": "CI=true && yarn lint && yarn test",
|
"ci": "CI=true && yarn lint && yarn test",
|
||||||
|
|
Loading…
Reference in New Issue