Tested on local host with both variations with rows and max-rows and with just max-rows prop
Eg: When rows=4 and max-rows=10, the default row size will be 4 and as the user interacts with textarea the row size will increase/decrease as the per the number of lines in the content.
if no rows is set the default row size is considered as 2 which corresponds to the actual row size of the textarea when no rows prop is passed
We also have an optional prop called max-rows-debounce-timer which can debounce the events callback to improve performance. Its default value is 200ms
Checklist:
feat(fw-textarea): added maxRows to fw-textarea for dynamic Resizing.
How Has This Been Tested?
rows
andmax-rows
and with justmax-rows
prop2
which corresponds to the actual row size of the textarea when no rows prop is passedmax-rows-debounce-timer
which can debounce the events callback to improve performance. Its default value is200ms