mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
chore(docs): Update Instructions for Windows WebView Scrolling (#1927)
* Update with Windows Scroll with Touch Requirements * Rephrase
This commit is contained in:
@@ -83,6 +83,8 @@ Add `#include "winrt/ReactNativeWebView.h"`.
|
||||
|
||||
Add `PackageProviders().Append(winrt::ReactNativeWebView::ReactPackageProvider());` before `InitializeComponent();`.
|
||||
|
||||
Note if you want to enable scroll with Touch for the WebView component you must disable perspective for your app using [ReactRootView.IsPerspectiveEnabled](https://microsoft.github.io/react-native-windows/docs/ReactRootView#isperspectiveenabled).
|
||||
|
||||
## 3. Import the webview into your component
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user