ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
192 stars 187 forks source link

KeyboardAccessoryBar covered by date select #342

Open pvandrunen opened 6 years ago

pvandrunen commented 6 years ago

Short description of the problem:

Using ionic v1 the accessory bar is covered by the date selector. On iPhone X the selector is covered 50%, other devices it's covered 75%.

This doesn't appear to happen with the keyboard.

What behavior are you expecting?

The accessory bar, when shown should NOT be covered partially by the date picker. cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true); Steps to reproduce:

  1. Create a new version of $ ionic start myproject --type ionic1
  2. Build and launch $ ionic cordova platform add ios
  3. Add a date field
  4. Enable on the accessory bar
  5. Opent the app, show the accessory bar
    <label class="item item-input">
      <span class="input-label">Start Date</span>
      <input ng-model="member.startDate" name="startDate" type="date" required="" />
    </label>

   (cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false);

simulator screen shot - iphone x - 2017-11-24 at 17 07 10 simulator screen shot - iphone 8 plus - 2017-11-24 at 16 59 55

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

@ionic/cli-utils  : 1.18.0
ionic (Ionic CLI) : 3.18.0

global packages:

cordova (Cordova CLI) : 7.1.0
Gulp CLI              : CLI version 3.9.1 Local version 3.9.1

local packages:

Cordova Platforms : ios 4.5.4
Ionic Framework   : ionic1 1.3.4

System:

ios-deploy : 1.9.2
ios-sim    : 5.0.6
Node       : v9.2.0
npm        : 5.5.1
OS         : macOS Sierra
Xcode      : Xcode 9.0 Build version 9A235

Environment Variables:

ANDROID_HOME : not set

Misc:

backend : pro
evanjmg commented 3 years ago

Found an issue related - that solved my problem https://stackoverflow.com/questions/51107402/in-ios-i-can-not-select-a-dropdown-option