Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix(mobile): prevent text selection on webkit (#8967)

CatsJuice5e92d6cfe98c
diff --git a/packages/frontend/core/src/mobile/styles/mobile.css.ts b/packages/frontend/core/src/mobile/styles/mobile.css.ts
index 394dac3019..69e561878f 100644
--- a/packages/frontend/core/src/mobile/styles/mobile.css.ts
+++ b/packages/frontend/core/src/mobile/styles/mobile.css.ts
@@ -10,6 +10,7 @@ globalStyle(':root', {
[globalVars.appTabHeight]: BUILD_CONFIG.isIOS ? '49px' : '62px',
},
userSelect: 'none',
+ WebkitUserSelect: 'none',
});
globalStyle('body', {