This task covers adding the fixedHeight and autosize props and their associated functionality.
Design spec
Acceptance criteria
Update: we decided not to implement fixedHeight for accessibility reasons (to ensure the user has a way of expanding the textarea) and only implemented autosize.
- The "grabber" that allows for manually resizing displays by default
-
A boolean prop called fixedHeight has been added. When set to true, the grabber will not be displayed and the height of the <textarea> will not change. - A boolean prop called autosize has been added. When set to true, the grabber will not be displayed and the height of the <textarea> will grow as more text is added
-
When fixedHeight and autosize are set to true, the autosize prop will override the fixedHeight.