mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
Fix: The text field resizing function in the knowledge block creation… (#14212)
… modal - Add vertical resizing functionality for the text field ### What problem does this PR solve? _Fix the issue where the text content of the knowledge base editing parsing block is too long to scroll._ <img width="701" height="775" alt="image" src="https://github.com/user-attachments/assets/b258422e-fbc1-466d-abab-062e642c21d5" /> ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) Co-authored-by: chenyun <chenyun@chenyundemacbook-pro.local>
This commit is contained in:
@@ -132,7 +132,7 @@ const ChunkCreatingModal: React.FC<IModalProps<any> & kFProps> = ({
|
||||
<FormItem>
|
||||
<FormLabel>{t('chunk.chunk')}</FormLabel>
|
||||
<FormControl>
|
||||
<Textarea {...field} autoSize={{ minRows: 4, maxRows: 10 }} />
|
||||
<Textarea {...field} autoSize={{ minRows: 4, maxRows: 10 }} resize="vertical" />
|
||||
</FormControl>
|
||||
<FormMessage />
|
||||
</FormItem>
|
||||
|
||||
Reference in New Issue
Block a user