Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit 0cc2783

Browse files
committed
Update README to clarify disableScroll
1 parent 8f4db62 commit 0cc2783

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ Supported Platforms
6262
Keyboard.disableScroll
6363
=================
6464

65-
Disable native scrolling, useful if you are using JavaScript to scroll
65+
Prevent the native UIScrollView from moving when an input is focused. The telltale sign that this is happening is the top of your app scrolls out of view (if using Ionic, your header bar will disappear).
66+
67+
This does *not* prevent any DOM elements from being able to scroll. That needs to happen from CSS and JavaScript, not this plugin.
6668

6769
cordova.plugins.Keyboard.disableScroll(true);
6870
cordova.plugins.Keyboard.disableScroll(false);

0 commit comments

Comments
 (0)