Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/eighty-terms-vanish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@project44-manifest/react': patch
---

fix: added resize behaviour to TextArea
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { css, pxToRem } from '@project44-manifest/react-styles';

export const useStyles = css({
'.manifest-textfield-base__input': {
resize: 'both',
minHeight: pxToRem(56),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may break the UX for existing TextArea usages which are not expecting this.
If you want to have it in manifest, it's better to make it as configured prop - resize?: 'none' | 'vertical' | 'horizontal' | 'both' defaults to none. or just override the prop in place where you need that with styled function or inline override like this: <TextArea css={{ textarea: { resize: 'both' } }} />

},
});