segmentio / evergreen

🌲 Evergreen React UI Framework by Segment
https://evergreen.segment.com
MIT License
12.39k stars 832 forks source link

TextareaField does not pass through resize prop #1338

Closed brandongregoryscott closed 3 years ago

brandongregoryscott commented 3 years ago

Issue

While the Textarea component respects the resize prop for disabling or restricting resize capabilities, the TextareaField component doesn't seem to properly pass it through to the underlying Textarea

Reproduction See this codesandbox for a working example.

Expected behavior resize prop is properly forwarded to <Textarea />