fix(canvas): 提示词卡片 - 按内容自适应高度并隐藏无效参数区
This commit is contained in:
1 parent
1e6f782ada
commit
5eb5029272
3 files changed
+20
-11
No files matched your search
@@ -120,7 +120,7 @@ export const CanvasResourceMentionTextarea = forwardRef<HTMLTextAreaElement, Pro
|
||||
});
|
||||
observer.observe(container);
|
||||
return () => observer.disconnect();
|
||||
}, [onContentSizeChange, reportContentSize, useRichEditor]);
|
||||
}, [onContentSizeChange, reportContentSize, useRichEditor, value]);
|
||||
|
||||
const focusEditor = (selectionStart?: number) => {
|
||||
requestAnimationFrame(() => {
|
||||
|
||||
Reference in new issue
Block a user