Skip to content

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Fix: The text field resizing function in the knowledge block creation… (#14212)

Jackie71d327b11ce9
diff --git a/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx b/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
index a8dd6bf860..899ef61693 100644
--- a/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
+++ b/web/src/pages/chunk/parsed-result/add-knowledge/components/knowledge-chunk/components/chunk-creating-modal/index.tsx
@@ -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>