textarea
textarea copied to clipboard
React Textarea
### Steps to reproduce Use TextArea with props: readOnly=true, allowClear=true, defaultValue="Some value" ### What is expected? TextArea should not support allowClear when it is readOnly ### What is actually happening?...
This fix will avoid setting inline styles and instead sets the styles directly on the element which I think should actually be the correct way of doing it. The nice...
fix:https://github.com/ant-design/ant-design/issues/42846)
…s enabled
Sometimes I can't use accents when using Safari with `autoSize`. Expected behavior (Chrome): https://user-images.githubusercontent.com/1683922/167869861-8865bc57-7071-406e-bd7f-981ca43a5f19.mov Using Safari 15.4 on macOS 12.3: https://user-images.githubusercontent.com/1683922/167870108-a0ffa235-55aa-4982-aa15-82a1ce068d67.mov
Ant Design support CSP via nonce in "csp" attribute of ConfigProvider. Textarea component uses inline style so nonce is not used and browser reports: calculateNodeHeight.js:69 Refused to apply inline style...
**Can someone please explain what's the purpose of these lines?** https://github.com/react-component/textarea/blob/afc7c9eea5fa0d2aeab62177f05a751d40550dde/src/ResizableTextArea.tsx#L151-L155 I'm currently investigating a bug (https://github.com/ant-design/ant-design/issues/31480). Thanks!
Form elements require a name or an ID, so I added a name to this element to resolve the browser warning
I get this error when using this component in next 14 Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the...
This PR addresses [issue #77](https://github.com/react-component/textarea/issues/77) . The same solution as https://github.com/react-component/input/pull/61.  ## Summary by CodeRabbit ## Bug Fixes - 改进了文本框对输入法(IME)输入事件的处理机制。系统现已能够准确识别不同的输入事件来源,防止在输入法组合转换过程中发生意外的状态更新,显著增强了中文、日文等多语言输入场景下的稳定性和用户体验。