Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This lets the message area grow with the box, but the way it works right now is to grow with the conent. I'm not sure this change is necessary as I would expect the input to define that. E.g. all of the current text divs grow with long text until they cannot and then they wrap. Shouldn't this just be a a div with text stylized like an input? Side note, I noticed I can edit the text in the input when testing. Is that expected?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
input
api is designed for requesting passwords and other kinds of text input, so generally it needs to be editable. For my scenario I don't need it to be editable, but I do want that the user can keyboard-nav through the text to see its contents in full, and I get that for free by using theinput
dialog. I don't think there is a way for theinput
element to specify that it should grow with its contents using CSS attributes alone though.