Skip to content

Commit

Permalink
chore(docs): Update Instructions for Windows WebView Scrolling (react…
Browse files Browse the repository at this point in the history
…-native-webview#1927)

* Update with Windows Scroll with Touch Requirements

* Rephrase
  • Loading branch information
chiaramooney committed Mar 22, 2021
1 parent 2973a50 commit 9d9fda8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9d9fda8

Please sign in to comment.