Skip to content

Commit 2746dd0

Browse files
authored
docs(README): Document ScrollEnabled preference (#422)
closes #325
1 parent 0eb8a37 commit 2746dd0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,14 @@ Set to false to stop WKWebView suspending in background too eagerly.
125125

126126
Whether to use a dark styled keyboard on iOS
127127

128+
#### ScrollEnabled
129+
130+
```xml
131+
<preference name="ScrollEnabled" value="true" />
132+
```
133+
134+
Ionic apps work better if the WKWebView is not scrollable, so the scroll is disabled by default, but can be enabled with this preference. This only affects the main ScrollView of the WKWebView, so only affects the body, not other scrollable components.
135+
128136
## Plugin Requirements
129137

130138
* **Cordova CLI**: 7.1.0+

0 commit comments

Comments
 (0)