Browse Source

fix(sync): disable visibilitychange for the record

Tienson Qin 5 năm trước cách đây
mục cha
commit
7494c66d25
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/main/frontend/components/editor.cljs

+ 2 - 1
src/main/frontend/components/editor.cljs

@@ -655,7 +655,8 @@
                                           (not (editor-handler/in-auto-complete? (gdom/getElement id)))))
                                (state/clear-edit!))))))
                       :node (gdom/getElement id)
-                      :visibilitychange? true))
+                      ;; :visibilitychange? true
+                      ))
                    100)
 
                   (when-let [element (gdom/getElement id)]