Skip to content

Apply content inset to ScrollView regardless of enableAutomaticScroll property #280

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

Merged
merged 1 commit into from
Jul 12, 2018

Conversation

lucyluu22
Copy link
Contributor

If you disable automatic scroll (say, if you want to do some custom behaviour like scrollIntoView()) the content inset that compensates for the soft keyboard is no longer applied. As a result the view is partly obstructed (i.e. no longer 'keyboard aware'), and the scroll methods like scrollIntoView don't work as expected.

@alvaromb
Copy link
Collaborator

LGTM, thanks @ljsnagy

@alvaromb alvaromb merged commit ea1c11b into APSL:master Jul 12, 2018
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.

2 participants