                         "black")]
     [popover-anchor-wrapper
      :showing? showing?
-     :position (if position position :below-center)
+     :position (or position :below-center)
      :anchor   anchor
      :style    style
      :popover [popover-content-wrapper

             :opacity  backdrop-opacity
             :on-click on-cancel])
          [popover-border
           :position        (if position position :right-below)
           :position-offset position-offset
           :width           width
           :height          height

;;--------------------------------------------------------------------------------------------------

(def popover-anchor-wrapper-args-desc
  [{:name :showing? :required true                        :type "boolean atom"                                   :description "an atom. When the value is true, the popover shows"}
   {:name :position :required true                        :type "keyword"         :validate-fn position?         :description [:span "relative to this anchor. One of " position-options-list]}
   {:name :anchor   :required true                        :type "string | hiccup" :validate-fn string-or-hiccup? :description "the component the popover is attached to"}
   {:name :popover  :required true                        :type "string | hiccup" :validate-fn string-or-hiccup? :description "the popover body component"}
   {:name :style    :required false                       :type "CSS style map"   :validate-fn css-style?        :description "override component style(s) with a style map, only use in case of emergency"}])
