Skip to content

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

Fix: Chunk problem tag content cannot be displayed completely. #5076 (#5077)

balibabu3356de55ed23
diff --git a/web/src/components/edit-tag/index.tsx b/web/src/components/edit-tag/index.tsx
index b336a08781..676ba7ff9b 100644
--- a/web/src/components/edit-tag/index.tsx
+++ b/web/src/components/edit-tag/index.tsx
@@ -1,6 +1,6 @@
import { PlusOutlined } from '@ant-design/icons';
import type { InputRef } from 'antd';
-import { Input, Tag, theme } from 'antd';
+import { Input, Tag, theme, Tooltip } from 'antd';
import { TweenOneGroup } from 'rc-tween-one';
import React, { useEffect, useRef, useState } from 'react';
@@ -50,17 +50,19 @@ const EditTag = ({ value = [], onChange }: EditTagsProps) => {
const forMap = (tag: string) => {
return (
- <Tag
- key={tag}
- className={styles.tag}
- closable
- onClose={(e) => {
- e.preventDefault();
- handleClose(tag);
- }}
- >
- {tag}
- </Tag>
+ <Tooltip title={tag}>
+ <Tag
+ key={tag}
+ className={styles.tag}
+ closable
+ onClose={(e) => {
+ e.preventDefault();
+ handleClose(tag);
+ }}
+ >
+ {tag}
+ </Tag>
+ </Tooltip>
);
};