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(design): popup style (#3325)
zhangw675933c2c715
diff --git a/packages/design/src/components/popup/RectPopup.tsx b/packages/design/src/components/popup/RectPopup.tsxindex 5c40791d4f..44e10a8418 100644--- a/packages/design/src/components/popup/RectPopup.tsx+++ b/packages/design/src/components/popup/RectPopup.tsx@@ -171,7 +171,7 @@ function RectPopup(props: IRectPopupProps) {<sectionref={nodeRef}style={style}- className={styles.popupAbsolute}+ className={styles.popupFixed}onPointerDown={(e) => e.stopPropagation()}><RectPopupContext.Provider value={anchorRect}>diff --git a/packages/design/src/components/popup/index.module.less b/packages/design/src/components/popup/index.module.lessindex 96fdf82479..f5fba0f94d 100644--- a/packages/design/src/components/popup/index.module.less+++ b/packages/design/src/components/popup/index.module.less@@ -1,5 +1,5 @@-.popup-absolute {- position: absolute;+.popup-fixed {+ position: fixed;z-index: 1000;top: -9999px;left: -9999px;