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

Removes onSubmitEditing from multiline use #13

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lumenlunae
Copy link

Seems onSubmitEditing doesn't like multiline. The text from the text input wouldn't clear for me when I pressed enter.

So instead, I'm handling the submission in handleInput like I would for pressing space. I don't know if it's exactly a fix you would use but maybe a good starting point for anyone having the same problem. Thanks!

Seems onSubmitEditing doesn't like multiline. The text from the text input wouldn't clear for me when I pressed enter. 

So instead, I'm handling the submission in handleInput like I would for pressing space.
Bump react-native-autocomplete-input
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.

1 participant