-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
InputAccessoryView doesn't update its height when multiline TextInput grows in height #18997
Comments
I'm able to reproduce as well. Two more bugs with
|
Also having this issue. Hopefully there is some path to a fix or workaround soon. |
@pozdena How did you manage to get Thanks! |
I am willing to pay $100 for this issue to be solved within June. If someone does, submit PR and ping me. Same for android support. Thank you |
I'll double @gastonmorixe's bounty. |
@fexx thanks for the suggestion but do you mean the inputaccessoryview or the view which contains the inputaccessoryview? Could you share your code? |
@pribeh I include in the view that wraps the inputAcessoryView. Here is my code. See if it helps. import React, { Component } from "react"; export default class Message extends Component { render() {
} } const styles = StyleSheet.create({
}, |
@fexx I see what you are doing and thanks for sharing. This doesn't resolve the issue but is a work around if your design can accommodate this. We still need a proper fix to this problem and I can't seem to figure out any possible way via styling or positioning to resolve this. |
It really is not a solution, it's a temporary adaptation I could use for this project until I had the solution. |
For reference #21179 seems to fix this issue, doesn't seem like it has landed in any release yet tho. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
I don't seem to have the ability to edit labels anymore, but this issue is not stale. |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
This issue was closed because it has been stalled for 7 days with no activity. |
This is listed as a known issue in the official docs (https://reactnative.dev/docs/inputaccessoryview). How can it possibly be stale? |
I'm using an InputAccessoryView to create a sticky TextInput. When using a growing multiline TextInput, the TextInput's height increases and grown down behind the keyboard.
Environment
Environment:
OS: macOS High Sierra 10.13.4
Node: 9.11.1
Yarn: 1.5.1
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.3 Build version 9E145
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.2 => 0.55.2
Steps to Reproduce
Add
multiline
to a TextInput wrapped inside an InputAccessoryView.Expected Behavior
InputAccessoryView's bottom edge is always sticky to the keyboard top and does not grow behind the keyboard.
Actual Behavior
The text was updated successfully, but these errors were encountered: