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

Reset Input Toolbar can over calculate from bottomOffset props #382

Merged
merged 1 commit into from
Mar 26, 2017

Conversation

erenn16
Copy link
Contributor

@erenn16 erenn16 commented Feb 24, 2017

Ran into an issue in my implementation where I have a bottom offset for the input tool bar in the chat. When a user inputs a message, dismisses the keyboard and then sends the message, the text input tool bar would end up being rendered too low and behind a few other view components. Instead of using the this.props.bottomOffset, it should be using this.getBottomOffset() so that it doesn't incorrectly position when the keyboard is dismissed. Verified that sending a message with the keyboard showing still works as intended.

…text input tool bar can be rendered incorrectly due to the bottom offset
erenn16 added a commit to skillz/react-native-gifted-chat that referenced this pull request Feb 24, 2017
@kfiroo kfiroo merged commit 4406a55 into FaridSafi:master Mar 26, 2017
@kfiroo
Copy link
Collaborator

kfiroo commented Mar 26, 2017

@erenn16 Thanks

@erenn16 erenn16 deleted the fix-reset-input-toolbar branch March 26, 2017 18:09
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