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

Michaeltyson master #153

Closed
wants to merge 3 commits into from

Conversation

alexazhou
Copy link
Contributor

restore the scroll offset when keyboard hide

@michaeltyson
Copy link
Owner

Hi! I'd rather not merge this in as it is, because the user may scroll during the edit operation, and if the scroll position is restored to the original after the keyboard is hidden, it may be bewildering to the user. Better to always do the "expected" thing, which is not scrolling to what the user will see as an arbitrary position.

Is this to work around a particular issue?

@alexazhou
Copy link
Contributor Author

oh, in my App, the scrollview offset has changed after the keyboard hide, so I saved the original offset and restore it when keyboard hide.

@michaeltyson
Copy link
Owner

Are you able to reproduce it within the sample app, possibly with some changes?

@alexazhou
Copy link
Contributor Author

I think I can try it, but maybe need some time. I will comment to you when i finished.
Have a nice day ~

@michaeltyson
Copy link
Owner

Okay, cool - thank you! You too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants