jeffminsungkim / Ashy

0 stars 0 forks source link

Keyboard pushes the whole screen up on iOS 11 #16

Closed jeffminsungkim closed 6 years ago

jeffminsungkim commented 6 years ago

Version info

cli packages: (/usr/local/lib/node_modules)

@ionic/cli-utils  : 1.19.0
ionic (Ionic CLI) : 3.19.0

global packages:

cordova (Cordova CLI) : 7.1.0

local packages:

@ionic/app-scripts : 3.1.4
Cordova Platforms  : android 6.3.0 ios 4.5.4
Ionic Framework    : ionic-angular 3.9.2

System:

ios-deploy : 1.9.2
Node       : v8.9.0
npm        : 5.5.1
OS         : macOS High Sierra
Xcode      : Xcode 9.2 Build version 9C40b

Issue content

When I click the text input, a keyboard shows up and pushes the navbar out of the screen. As a result, a user is not able to see the first few messages while typing messages. This issue has found during testing on iPhone SE (iOS 11) device.

Debug output

Expected behavior

All the messages including navbar should be placed in the content area, whether the keyboard is up or not.

Actual behavior

jeffminsungkim commented 6 years ago

cordova.plugins.Keyboard.disableScroll(true);

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).

jeffminsungkim commented 6 years ago

The same issue https://github.com/ionic-team/ionic/issues/5432 I might re-open this issue in the future.