chore(docs): Update Instructions for Windows WebView Scrolling (#1927)

* Update with Windows Scroll with Touch Requirements

* Rephrase
This commit is contained in:
Chiara Mooney 2021-03-22 08:01:18 -07:00 committed by GitHub
parent 2973a50d7e
commit 9d9fda87fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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