Comments (12)
Wondering if there is any fix for this?
from cordova-plugin-ionic-keyboard.
+1
from cordova-plugin-ionic-keyboard.
Still an issue, need a fix for ionic 1 project.
from cordova-plugin-ionic-keyboard.
Try adding the below to your config.xml file
<widget xmlns:android="http://schemas.android.com/apk/res/android">
<platform name="android">
<edit-config file="AndroidManifest.xml" mode="merge" target="/manifest/application/activity">
<activity android:windowSoftInputMode="adjustPan" />
</edit-config>
</platform>
</widget>
from cordova-plugin-ionic-keyboard.
sorry, but didn't work
from cordova-plugin-ionic-keyboard.
I found a temporary hack/fix using javascript.
When the keyboard opens
if (document.querySelectorAll('ion-view.pane ion-content')[0] && platform == 'android') { document.querySelectorAll('ion-view.pane ion-content')[0].style.cssText = "height: calc(100vh - " + e.keyboardHeight + "pt);" document.activeElement.scrollIntoView();//if active input isn't focussed in view }
When the keyboard hides
if (document.querySelectorAll('ion-view.pane ion-content')[0] && platform == 'android') { document.querySelectorAll('ion-view.pane ion-content')[0].style.cssText = "height: 100%);" }
from cordova-plugin-ionic-keyboard.
@mark261092 your fix is ok, but I dont really want to use hacks like this. I would like this to work just by using the config
from cordova-plugin-ionic-keyboard.
@Scobee , yes, me too. this was a last resort measure that will be removed if something promising comes up.
from cordova-plugin-ionic-keyboard.
Anybody have a fix for this? I am also using a hack similar to @mark261092 but would like to find a cleaner solution.
from cordova-plugin-ionic-keyboard.
Can you provide a sample app?
Is not clear to me if this is a bug on the keyboard plugin or on Ionic itself.
from cordova-plugin-ionic-keyboard.
+1
from cordova-plugin-ionic-keyboard.
+1
from cordova-plugin-ionic-keyboard.
Related Issues (20)
- ScrollEnabled defaulting to `NO` is not documented
- iOS when keyboard shows up in dark mode it change color to gray HOT 9
- Screen is stucked, after keyboard is disappeare HOT 1
- Incorrect Height Value on some Android devices HOT 2
- Nullpointer: io.ionic.keyboard.CDVIonicKeyboard.onDestroy
- iOS - Hiding keyboard manually is not working properly HOT 1
- Whats the difference between the two iOS hide keyboard accessory bar options? HOT 1
- keyboard.isVisible is NOT detecting the visibility of the keyboard as it says in the doc
- facing weird (hide/show)issue with the keyboard in Cordova builds
- Events not firing when using floating keyboard
- Is this repo not maintained any more? HOT 4
- delay to show keyboard after invoking Element.focus()
- Interactive swipe to dismiss keyboard HOT 1
- Inline GIF Support from keyboards
- Random crash at what appears to be at startup.
- delay to show keyboard value but when change the focus is display value
- ERROR Error: Uncaught (in promise): Error: Type Keyboard does not have 'ɵmod' property. HOT 1
- 3rd Party Keyboards dont work with Ionic v5 app - SwiftKey HOT 1
- On iPhone devices screen is zoomed in and fails to resize back after user enters input
- [Android] go button doesn't close keyboard.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-ionic-keyboard.