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.

fix(design): apply `pointer-events: none` to avoid `::selection` in Safari (#1792)

白熱86bb772224f8
diff --git a/packages/design/src/themes/theme-root.module.less b/packages/design/src/themes/theme-root.module.less
index 4b7cd14304..0f457cef59 100644
--- a/packages/design/src/themes/theme-root.module.less
+++ b/packages/design/src/themes/theme-root.module.less
@@ -15,3 +15,9 @@
-webkit-font-smoothing: antialiased;
}
+
+.render-canvas {
+ &::selection {
+ pointer-events: none;
+ }
+}