Browse Source

fix: bullets are not hidden for empty blocks when editing

Tienson Qin 3 years ago
parent
commit
7eff2b5cfa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -2552,7 +2552,7 @@
                     ::navigating-block (atom (:block/uuid block)))))
    :should-update (fn [old-state new-state]
                     (let [compare-keys [:block/uuid :block/content :block/parent :block/collapsed?
-                                        :block/properties :block/left :block/children :block/_refs]
+                                        :block/properties :block/left :block/children :block/_refs :block/bottom? :block/top?]
                           config-compare-keys [:show-cloze?]
                           b1 (second (:rum/args old-state))
                           b2 (second (:rum/args new-state))