Skip to content

Commit

Permalink
fix(sync): disable visibilitychange for the record
Browse files Browse the repository at this point in the history
  • Loading branch information
tiensonqin committed Nov 3, 2020
1 parent 3197b78 commit 7494c66
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/frontend/components/editor.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 7494c66

Please sign in to comment.