Skip to content

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

fix(web): default Textarea resize to vertical (#19263)

chanx952d6617d8c9
diff --git a/web/src/components/ui/textarea.tsx b/web/src/components/ui/textarea.tsx
index 03ac2f9a90..2a9caf964f 100644
--- a/web/src/components/ui/textarea.tsx
+++ b/web/src/components/ui/textarea.tsx
@@ -21,7 +21,7 @@ interface TextareaProps extends Omit<
resize?: 'none' | 'vertical' | 'horizontal' | 'both';
}
const Textarea = forwardRef<HTMLTextAreaElement, TextareaProps>(
- ({ className, autoSize, resize = 'none', ...props }, ref) => {
+ ({ className, autoSize, resize = 'vertical', ...props }, ref) => {
const textareaRef = useRef<HTMLTextAreaElement>(null);
const manualHeightRef = useRef<number | null>(null);
const isAdjustingRef = useRef(false);