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

MessageInputBarDelegate Method Keyboard is Shown #20

Open
fishcharlie opened this issue Feb 10, 2019 · 1 comment
Open

MessageInputBarDelegate Method Keyboard is Shown #20

fishcharlie opened this issue Feb 10, 2019 · 1 comment

Comments

@fishcharlie
Copy link

Is there a way to detect when the keyboard is shown or better yet when the user taps on the text field? I want to build functionality to where when the user opens the keyboard or taps the text field to start editing, it checks to see if the table view is at the bottom, and if so, it automatically scrolls back down to the bottom.

Currently if you are at the bottom of the table view, and you take the text field, the messages at the bottom disappear until you scroll down again.

@nathantannar4
Copy link
Member

The easiest way would be to subscribe to the standard keyboard observer notifications

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

No branches or pull requests

2 participants