問題のビデオをフェードが、その同じアンドロイド白背景キーボードは異なるユーザから離れ
とき、私のように設定された背景画像は以下の持っている:
.pane {
background-image: url("../img/inner-banner-bg.jpg");
background-repeat: repeat;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
}
そして、私の中にconfig.xml
<preference name="Fullscreen" value="false"/>
今問題は次のとおりです。私はdone/searchを打った後にキーボードが消え去ると、キーボードが覆っていたスペースのためのトランジションの間に0.5のような白い背景が残っていて、少し悪く見えます。
キーボードを閉じると、収縮しますが、白い隙間が残ります。バックグラウンドの背後のビューを縮小しないようにキーボードを取得するにはどうすればよいですか?
私はそれが起こらない
<preference name="Fullscreen" value="true"/>
を設定します。また、Ionic Plugin Keyboardも使用しています。
とにかく私はキーボードのフェードアウトの移行を行うことができます白い背景を表示しますか?
編集:ここに私のAndroidの設定
<activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/activity_name" android:launchMode="singleTop" android:name="MainActivity" android:theme="@android:style/Theme.DeviceDefault.NoActionBar" android:windowSoftInputMode="adjustResize">
<intent-filter android:label="@string/launcher_name">
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
そして、私のconfig設定
<access launch-external="yes" origin="geo:*"/>
<allow-intent href="geo:*"/>
<preference name="webviewbounce" value="false"/>
<preference name="UIWebViewBounce" value="false"/>
<preference name="DisallowOverscroll" value="true"/>
<preference name="android-minSdkVersion" value="16"/>
<preference name="BackupWebStorage" value="none"/>
<preference name="SplashScreen" value="screen"/>
<preference name="SplashScreenDelay" value="4000"/>
<preference name="FadeSplashScreen" value="false"/>
<preference name="ShowSplashScreenSpinner" value="true"/>
<preference name="KeyboardShrinksView" value="false"/>
そして私はイオンビューを使用自分のWebビューでPackage.json
"dependencies": {
"gulp": "^3.5.6",
"gulp-sass": "^2.0.4",
"gulp-concat": "^2.2.0",
"gulp-minify-css": "^0.3.0",
"gulp-rename": "^1.2.0"
},
"devDependencies": {
"bower": "^1.3.3",
"gulp-util": "^2.2.14",
"shelljs": "^0.3.0"
},
"cordovaPlugins": [
"cordova-plugin-device",
"cordova-plugin-console",
"cordova-plugin-whitelist",
"cordova-plugin-splashscreen",
"cordova-plugin-statusbar",
"cordova-plugin-geolocation",
"cordova-plugin-network-information",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [
"android",
"ios"
]
中ですおよびイオン含有量
<ion-view>
<ion-content class="has-header has-tabs">
白い背景が消えない潜在的な回避策は、たとえばキーボード入力キーまたはフォームイベントのイベントハンドラなど、キーボードを閉じる場所に次のコードを追加することです。また、依存関係として '$ ionicScrollDelegate'を追加する必要があります。 'if(cordova){cordova.plugins.Keyboard.close(); } $ ionicScrollDelegate.getScrollView()。resetScrollView() ' – Webruster
まだ白い背景のページにジャンプがありません – StevieB
チェックしましたか?デバッガはその行に行きますか? – Webruster