6.0.0 • Published 12 months ago

capacitor-adjust-resize v6.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

npm version capacitor support

capacitor-adjust-resize

This plugin attaches an observer for layout changes on the native layer.

Example: When the keyboard opens, this plugin automatically adds bottom padding to the android layout, so the webview ends on top of the soft keyboard.

Why: On using <item name=\"android:windowTranslucentNavigation\">true<\/item>, the keyboard overlays the webview and does not shrink the webview automatically.

Supported platforms

PlatformSupported
Android
iOS
Web

Install

npm i capacitor-adjust-resize
npx cap sync android

The plugin is activated on load automatically.

API

6.0.0

12 months ago

5.0.4

2 years ago

5.0.3

2 years ago

5.0.2

2 years ago

5.0.1

2 years ago

5.0.0

2 years ago

4.0.4

2 years ago

4.0.3

2 years ago

4.0.1

3 years ago

4.0.0

3 years ago

4.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago