From df7b566a4655b81f3a710ec3a29ed0843fdfcedc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cleehom6666=E2=80=9D?= Date: Wed, 26 Feb 2025 16:04:07 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=B7=BB=E5=8A=A0scrollEnabled=E5=B1=9E?= =?UTF-8?q?=E6=80=A7=EF=BC=8C=E8=A7=A3=E5=86=B3this.descriptorWrapper.rawP?= =?UTF-8?q?rops.scrollEnabled=E8=8E=B7=E5=8F=96=E4=B8=BAundefind=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: “leehom6666” --- harmony/rn_webview/src/main/cpp/WebViewJSIBinder.h | 1 + harmony/rn_webview/src/main/cpp/WebViewNapiBinder.h | 1 + 2 files changed, 2 insertions(+) diff --git a/harmony/rn_webview/src/main/cpp/WebViewJSIBinder.h b/harmony/rn_webview/src/main/cpp/WebViewJSIBinder.h index 90fa0e087..d1db0d7ea 100644 --- a/harmony/rn_webview/src/main/cpp/WebViewJSIBinder.h +++ b/harmony/rn_webview/src/main/cpp/WebViewJSIBinder.h @@ -46,6 +46,7 @@ namespace rnoh { object.setProperty(rt, "messagingModuleName", "string"); object.setProperty(rt, "shouldStartLoadWithRequestEnabled", "bool"); object.setProperty(rt, "webviewDebuggingEnabled", "bool"); + object.setProperty(rt, "scrollEnabled", "bool"); return object; } diff --git a/harmony/rn_webview/src/main/cpp/WebViewNapiBinder.h b/harmony/rn_webview/src/main/cpp/WebViewNapiBinder.h index d4bb55b02..bfe26f30b 100644 --- a/harmony/rn_webview/src/main/cpp/WebViewNapiBinder.h +++ b/harmony/rn_webview/src/main/cpp/WebViewNapiBinder.h @@ -57,6 +57,7 @@ namespace rnoh { .addProperty("messagingModuleName", props->messagingModuleName) .addProperty("shouldStartLoadWithRequestEnabled", props->shouldStartLoadWithRequestEnabled) .addProperty("webviewDebuggingEnabled", props->webviewDebuggingEnabled) + .addProperty("scrollEnabled", props->scrollEnabled) .build(); } return napiViewProps;