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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
fix: #879 no need to show context menu (#886)
Ran Luo07194ab793ca
diff --git a/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx b/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsxindex e1760f2fa7..d17692778c 100644--- a/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx+++ b/packages/sheets-ui/src/views/formula-bar/FormulaBar.tsx@@ -142,7 +142,7 @@ export function FormulaBar() {</div><div className={styles.formulaInput}>- <div className={styles.formulaContent} ref={editorRef} />+ <div onContextMenu={(e) => e.preventDefault()} className={styles.formulaContent} ref={editorRef} /><div className={styles.arrowContainer} onClick={handleArrowClick}>{arrowDirection === ArrowDirection.Down ? (<DropdownSingle />