Closed mattbaker closed 5 years ago
@mattbaker I do think think this an issue with the component itself. The <textarea>
has row="1"
by default and when you edit the contents of the <textarea>
a height attribute is added to it to compensate for the actual needed height for the contents.
It seems that either the height
attribute should be added when the component is first rendered (which is not the way it currently functions) or the row
attribute should be removed.
Agreed, seems like curious behavior. @mjesun — what are your thoughts on this? Am I using the component incorrectly or is this an improvement in the SDK we can make?
@mattbaker this looks like a bug in our TextField
component. I will report it into our Jira and try taking a look tomorrow.
Thank you @mjesun!
The fix is in staging BTW :)
A notes field that's already populated with content that spans more than one line in the text area will be cut off, and the size of the text area will not automatically expand to fit. Typing in the box will cause the textarea to reset and size accordingly.
This may be a bug in the UI component itself, so worth reaching out to the NR1 SDK development team