Skip to content

feat(keyboard): Animate webview on keyboard open / close #13

@Aarbel

Description

@Aarbel

Feature Request

Plugin

Keyboard

Description of current problem

When using KeyboardResize.Body as option, cf https://capacitorjs.com/docs/apis/keyboard#keyboardresize, the interface has a whole app glitch:

ON OPENING

  • the keyboard opens
  • then the webview height is set to a lower height, creating a content instant "pop"

ON CLOSING

  • the keyboard closes, creating an empty area (cf the red area on the gif bellow)
  • the webview height is 100%, but expands instantly as a glitch

cordova keyboard issue

Platform(s)

iOS
Android

Preferred Solution

Make the webview height follow the keyboard height, or change instantly when keyboard begins to open.

Additional Context

Similar never resolved issue with Corodva: cjpearson/cordova-plugin-keyboard#22

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions