Skip to content

Build your personal knowledge base with Trilium Notes

all dialogs are now non-modal because of high cpu usage

azivner3a95c9e1bc4d
diff --git a/src/public/javascripts/services/protected_session.js b/src/public/javascripts/services/protected_session.js
index 46c98a02ba..4f14907db1 100644
--- a/src/public/javascripts/services/protected_session.js
+++ b/src/public/javascripts/services/protected_session.js
@@ -39,7 +39,10 @@ function ensureProtectedSession(requireProtectedSession, modal) {
}
$dialog.dialog({
- modal: modal,
+ // modal: modal,
+ // everything is now non-modal, because modal dialog caused weird high CPU usage on opening
+ // and tearing of text input
+ modal: false,
width: 400,
open: () => {
if (!modal) {