isleofcode / ember-cordova-keyboard Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Documentation link goes to non-existant https://github.com/isleofcode/ember-cordova/blob/master/docs/keyboard.md
Current documentation link (http://embercordova.com/pages/service_keyboard) cannot be found. It should be http://embercordova.com/pages/addons/keyboard I suppose.
How does one get the height of the keyboard?
Hi,
The build has been failing since this PR was merged - #10. Is there an ETA on when it will be fixed?
Thank you.
I noticed that ionic-plugin-keyboard is deprecated. And the project indicates that cordova-plugin-ionic-keyboard is the successor. Any idea if this can be swapped in?
This looks like an issue with ionic-plugin-keyboard, but I thought it could be mitigated here.
I noticed that when entering text into an input and then closing the keyboard, everything works fine. But when entering text into an input, selecting another input, and then closing the keyboard, the body height stays small (as if the keyboard is still open).
I added a few console.log statements and noticed that the native.keyboardshow
event is firing twice after the native.keyboardhide
event when switching inputs. With the way ember-cordova-keyboard is coded to handle the body resizing, this._height
is being reset to the initial body
height, and then set to the calculated height because of the subsequent native.keyboardshow
event that fires.
I think by just wrapping the line of code that sets this._height
in a condition to check for isVisible
this issue would be mitigated:
if (!this._keyboard.isVisible) {
this._height = document.body.style.height || '';
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.