Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: minor bugs in webkit based browsers

thecodrr12922cb52e59
diff --git a/apps/web/src/app.css b/apps/web/src/app.css
index 040dc7fb8..dfd9f4043 100644
--- a/apps/web/src/app.css
+++ b/apps/web/src/app.css
@@ -70,12 +70,16 @@
url("./assets/fonts/open-sans-v20-latin-700italic.woff") format("woff"); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
-.selectable {
- -webkit-touch-callout: text;
+.selectable,
+input,
+textarea,
+[contenteditable="true"],
+[contenteditable="true"] > * {
+ -webkit-touch-callout: initial;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
- -ms-user-select: text;
+ -ms-user-select: initial;
user-select: text;
}
diff --git a/apps/web/src/components/list-item/index.js b/apps/web/src/components/list-item/index.js
index d2d89a40b..96aab5324 100644
--- a/apps/web/src/components/list-item/index.js
+++ b/apps/web/src/components/list-item/index.js
@@ -70,6 +70,8 @@ function ListItem(props) {
bg={isSelected ? "shade" : background}
onContextMenu={(e) => {
e.preventDefault();
+ e.stopPropagation();
+
let items = props.menu?.items?.slice() || [];
let title = props.item.title;
let selectedItems = selectionStore