You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior:
I have multiple inputs in a page, and I focus them manually every time using the setFocus() method. The problem is that when i do so, the page makes the correct scroll but when this scroll is finished it return to de no scroll position, is like something is cancelling the scroll. I have read a lot of issues of IOS keyboard and i still couldn't find exactly what the problem is.
Thank you @larssn , but I tried this and I got no result, in fact nothing changed. I've to notice that I have installed the ionic-keyboard-plugin in my app, and maybe the keyboard plugin autoScroll is making conflict with ionic scrollAssist. This is because if I disable the autoscroll from the plugin like this:
cordova.plugins.Keyboard.disableScroll(true);
This strange jump disapears, but when focusing between fields the scroll is not moved anymore, and the last field gets hidden... so with this I can solve one problem but I get another... I think that the problem is the conflict between the autoScroll from ionic and the autoScroll from the keyboard plugin, but really not sure at all.
Off the top of my head, Ionic adds 300px of bottom padding to accommodate the keyboard. Looking at your gif, a guess is that the 'jump' is caused by this. You could probably debug and watch the DOM to see if that's it. Do you have styling to override this? If not, maybe try?
Curiously, I'm not sure why the 'disableScroll' method would have any affect on the 'jump'. From my understanding, what this does shouldn't have anything to do with the input autoscroll.
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!
Activity
jgw96 commentedon Jan 31, 2017
Hello, thanks for opening an issue with us, we will take a look into this.
ricardojbertolin commentedon Feb 1, 2017
+1
larssn commentedon Feb 16, 2017
In your module, try adding the options:
IonicModule.forRoot(MyApp, { scrollAssist: false, autoFocusAssist: false }),to your forRoot.llorenspujol commentedon Feb 16, 2017
Thank you @larssn , but I tried this and I got no result, in fact nothing changed. I've to notice that I have installed the ionic-keyboard-plugin in my app, and maybe the keyboard plugin autoScroll is making conflict with ionic scrollAssist. This is because if I disable the autoscroll from the plugin like this:
cordova.plugins.Keyboard.disableScroll(true);This strange jump disapears, but when focusing between fields the scroll is not moved anymore, and the last field gets hidden... so with this I can solve one problem but I get another... I think that the problem is the conflict between the autoScroll from ionic and the autoScroll from the keyboard plugin, but really not sure at all.
michaelyuen commentedon Apr 10, 2017
Off the top of my head, Ionic adds 300px of bottom padding to accommodate the keyboard. Looking at your gif, a guess is that the 'jump' is caused by this. You could probably debug and watch the DOM to see if that's it. Do you have styling to override this? If not, maybe try?
Curiously, I'm not sure why the 'disableScroll' method would have any affect on the 'jump'. From my understanding, what this does shouldn't have anything to do with the input autoscroll.
krvajal commentedon Jun 7, 2017
Having the same issue
fix(keyboard): big keyboard/input refactor
fix(keyboard): big keyboard/input refactor
skyserpent commentedon Jul 19, 2017
my iOS preview doesn't jump on inputs, but Android jumps on all inputs 😞
nacimux commentedon Aug 13, 2017
Did you find any solution ?
mino922 commentedon Dec 8, 2017
Does anyone have a solution to this problem I am seeing this on iOS?
Here is the output of Ionic Info:
` @ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
local packages:
System:
Environment Variables:
Misc:
xuanranGit commentedon Jan 22, 2018
Pleace conside set style for input like this:
.input-cover{
position:static;
}
Hope it's useful
AlokGupta007 commentedon Jun 13, 2018
I am still facing the same issue. Please help to resolve, I have tried all above option.
ionitron-bot commentedon Nov 28, 2018
This issue has been automatically identified as an Ionic 3 issue. We recently moved Ionic 3 to its own repository. I am moving this issue to the repository for Ionic 3. Please track this issue over there.
If I've made a mistake, and if this issue is still relevant to Ionic 4, please let the Ionic Framework team know!
Thank you for using Ionic!
ionitron-bot commentedon Nov 28, 2018
Issue moved to: ionic-team/ionic-v3#175