ionic corsswalk 有些機型 長按失效

https://github.com/driftyco/ionic/issues/365 android


@vko-online : somehow I've managed to find a possible workaround but I must admit that there are some cases that the keyboard shows up.git

Here's my config:
app.js filegithub

angular.module('coraxApp', ['ionic', 'ngStorage', 'ngCordova', 'ngAnimate'])
  .run(function($ionicPlatform, $cordovaFile) {
    $ionicPlatform.ready(function() {
      ionic.Platform.isFullScreen = false;
})
.config(['$localStorageProvider', '$stateProvider', '$httpProvider', '$urlRouterProvider', '$locationProvider', '$compileProvider', '$ionicConfigProvider', function($localStorageProvider, $stateProvider, $httpProvider, $urlRouterProvider, $locationProvider, $compileProvider, $ionicConfigProvider) {
    $ionicConfigProvider.scrolling.jsScrolling(false);
}]);

config.xml fileapp

  <preference name="android-windowSoftInputMode" value="adjustPan|stateAlwaysHidden" />
  <preference name="Fullscreen" value="false" />
  <preference name="KeyboardDisplayRequiresUserAction" value="true" />
相關文章
相關標籤/搜索