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
Cursor does not follow input when scrolling with $ionicScrollDelegate on iOS #2244
Comments
Hi, just upgraded to beta14. This fix screws up my chat app that where the selected input is outside the scroll area (in a footer). By screws up I mean: removes focus from the input. Even better because I hook into onBlur events and setFocus i get into an infinite loop. IMHO blurring of activeElements would be better achieved as a directive rather than on the raw scrollDelegate API which should just do what it says on the tin (manage the scroll area). |
I agree with @sloops77, I have a chat-based app and have the exact same problem with this fix |
@sloops77 can you please share the solution in codepen? |
Unfortunately the way i've fixed this is by using a fork of ionic (or hack your copy of ionic). 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 |
@AgDude Would you be able to put together a codepen replicating the issue? Thanks |
Greetings @AgDude! My sensors indicate a reply was requested, but we have not received one yet, I am using my robot powers to close this issue. However, if you are still experiencing this issue, please feel free to reopen it by creating a new issue, and include any examples or necessary information. Thank you for allowing me to assist you. |
I am facing the exact same issue. Is there a solution for this yet? |
I am facing this same issu in android. Any solutions? |
Any update on this??? I am facing the exact same issue in iOS... |
Same here with ionic 1.3 and iOs 9.3... |
Hi there! |
same issue with iOS 10 and ionic 1.3 |
I faced the same issue in all ios devices with ionic 1 |
Looks like it's a bug from webkit in Safari mobile: (http://openradar.appspot.com/18819624) It will probably never be fixed (lasting since iOS 7). |
I am facing the same issue.The input field cursor scroll with screen in IOS device in ionic 1 and IOs 10. Thanks in advance. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
This is the same problem as described in #26 and #1063. It seems that it was fixed for scrolling by the user, but if the scroll is done programatically the problem still occurs.
here is a snippet from a directive:
When setTop is called, the scroll happens, but cursor stays in the original position (no longer over the input).
The text was updated successfully, but these errors were encountered: