Hey thanks for pointing this out!
Theres been a lot of work done to tap/scrolling/keyboard issues. Do you mind giving this a shot with the nightly builds?
Fantastic! The issue is gone - thank you very much!!!
PS: I’ve noticed the tabs are no longer displayed now on my iPad running iOS 7.1 since I’ve upgraded to the todays nightly. But I think this isn’t any related - I’ll open up a new thread for this.
I see that this issue is resolved, however I am close to a release using ionic vs. 1.0.0-beta.3. Is it possible to apply a patch to beta.3 with this fix? I’d really like to get this issue resolved, but since we’re already into QA I can’t update the entire ionic version.
Thanks for all your work on this project, it has been a lifesaver!
I have the exact same problem as iouhammi. I am using ionic lib 1.3.1, CLI 1.7.15. The problem only happens on iOS devices, either simulator or real device.
window.addEventListener('native.keyboardshow', function () {
document.body.classList.add('keyboard-opened');
/*
* This code is a hack to fix the cursor issue.
* When we click on the input field and keyboard appears, the cursor most of the time is not on the right position.
* It simply needs to refresh UI once. There was no solution to this problem, so I tried a hack, and it worked. ;)
* i.e. disable it for 10 micro secs and then re-enable it.
*/
if (document.activeElement.nodeName === 'INPUT') {
setTimeout(function (){
document.activeElement.disabled = true;
setTimeout(function () {
document.activeElement.disabled = false;
}, 10);
}, 350);
}
});
I fixed the caret issue this way. Although this is a hack, but fixed for me.