Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scrollView.scrollBottom() is closing the Keyboard on Android. #2801

Closed
do-web opened this issue Dec 23, 2014 · 6 comments
Closed

scrollView.scrollBottom() is closing the Keyboard on Android. #2801

do-web opened this issue Dec 23, 2014 · 6 comments
Assignees

Comments

@do-web
Copy link

do-web commented Dec 23, 2014

The Keyboard is open, i call scrollView.scrollBottom(), then the keyboard is closing and losing the focus from the input field.

@sloops77
Copy link

This is a bug on all platforms and is caused by the fix for #2244. The problem is the call to DomUtil.blurAll() in all $ionicScrollDelegate functions (including scrollBottom). The only way around this issue for now is to use a fork.

@perrygovier
Copy link
Contributor

Thanks, it was a fix for a webkit bug, but I think there's a better solution I'd like to try out

@sloops77
Copy link

A few more details for those looking for a solution:

see this commit on my own fork sloops77@c96af22. you can cherrypick it if u like.

Note that my fork of ionic also contains commits for trigger.io support which you probably dont want

@adamdbradley
Copy link
Contributor

DomUtil.blurAll() has been removed

@do-web
Copy link
Author

do-web commented Mar 22, 2015

On the current rc1 version the keyboard is again closing, if i call $ionicScrollDelegate.scrollBottom();

@3jFernando
Copy link

Tengo un problema con el scrollBottom funciona bien en IOS pero en ANDROID no me lleva hasta el final se queda antes

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants