Browse Source

fix: don't hide popup

Tienson Qin 1 year ago
parent
commit
945ed26962
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/main/frontend/components/objects.cljs

+ 0 - 7
src/main/frontend/components/objects.cljs

@@ -347,13 +347,6 @@
     (select/select option)))
 
 (rum/defc filter-properties < rum/static
-  ;; FIXME: why this is needed?
-  ;; Clicking outside the popup doesn't close it
-  (mixins/event-mixin
-   (fn [state]
-     (mixins/hide-when-esc-or-outside
-      state
-      :on-hide (fn [_state _e] (shui/popup-hide!)))))
   [columns table]
   (shui/button
    {:variant "ghost"