Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

feat: help func content visible UX (#6485)

Roman Sergeevdaa91165169d
diff --git a/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx b/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx
index 6012aca371..006952568a 100644
--- a/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx
+++ b/packages/sheets-formula-ui/src/views/formula-editor/help-function/HelpFunction.tsx
@@ -97,7 +97,7 @@ export function HelpFunction(props: IHelpFunctionProps) {
const { functionInfo, paramIndex, reset } = useFormulaDescribe(isFocus, formulaText, editor);
const editorBridgeService = useDependency(IEditorBridgeService);
const hidden = !useObservable(editorBridgeService.helpFunctionVisible$);
- const [contentVisible, setContentVisible] = useState(true);
+ const [contentVisible, setContentVisible] = useState(false);
const localeService = useDependency(LocaleService);
const required = localeService.t('formula.prompt.required');
const optional = localeService.t('formula.prompt.optional');