-
Notifications
You must be signed in to change notification settings - Fork 220
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
Update on new multiline height #49
Comments
Hmm, I don't think I understand your situation. The keyboard spacer in most situations should only need to accommodate the keyboard. Can you post a screenshot or gif? |
@Andr3wHur5t the Keyboard Spacer needs: componentWillReceiveProps to allow topSpacing to receive a dynamic property, which will update the Keyboard spacing. This will solve @ryandury problem. |
@charlle wouldn't the input be on top of the keyboard? Unless I'm missing something, I would think that top spacing would only create a gap between the keyboard and the input. |
@charlle Could you explain your answer a little further. I'm also having a similar problem when using KeyboardSpacer in conjunction with TabNavigator from react-navigation. As it stands, the text area is raised above the keyboard the same distance as the tab navigator. |
Same problem when I'm using TabNavigator. Any update? |
Andr3wHur5t#56 A fix for Andr3wHur5t#49. I tried to avoid manually writing a componentWillReceiveProps function to keep the code simpler.
Andr3wHur5t#56 A fix for Andr3wHur5t#49. I tried to avoid manually writing a componentWillReceiveProps function to keep the code simpler.
Hey, any support for multilines that adapt to the content height? I've got a listener on my TextInput that will adjust itself based on the content height. The KeyboardSpacer doesn't appear to adjust height based on the new height of the multiline.
The text was updated successfully, but these errors were encountered: