Skip to content

Commit

Permalink
docs(keyboard): Add Keyboard config info (#2245)
Browse files Browse the repository at this point in the history
* Add location for keyboard config on iOS to docs
* Closes #2243
  • Loading branch information
mesqueeb authored and bryplano committed Dec 16, 2019
1 parent 5d2b656 commit 3344af2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs-md/apis/keyboard/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,12 @@ Keyboard.hide();

## Keyboard configuration (iOS only)

Keyboard plugin allow this configurations for iOS
The keyboard plugin allows the following configuration values to be added in `capacitor.config.json` for the iOS platform:

- `resize`: It configures the way the app is resized when the Keyboard appears.
Allowed values are
- `none`: Not the app, nor the webview are resized
- `native`: The whole native webview will be resized when the keyboard shows/hides, it will affect the `vh` relative unit.
- `native`: (default) The whole native webview will be resized when the keyboard shows/hides, it will affect the `vh` relative unit.
- `body`: Only the html `<body>` element will be resized. Relative units are not affected, because the viewport does not change.
- `ionic`: Only the html ion-app element will be resized. Use it only for ionic apps.

Expand Down

0 comments on commit 3344af2

Please sign in to comment.