         (react/create-element
          ;; empty string makes react attach a property with no value
          [:div {:className (str "dropdown-pane " dropdown-class) :id dropdown-id :data-dropdown ""
-                :data-close-on-click (when (:close-on-click props) "true")
                 :ref (this :-create-dropdown-ref-handler)
                 :style (merge
                         {:whiteSpace "normal"}

                  (if (:close-on-click props)
                    (.on element$ "click.zf.dropdown"
                         (fn [_]
                           (.foundation element$ "close")))
                    (.on (js/$ "body")
                         "click.zf.dropdown"
                         (fn [e]

    :button-class "float-right"
    :button-style (merge {:fontSize "unset" :lineHeight "unset" :padding 0 :textAlign "center"}
                         button-style)
    :close-on-click true
    :dropdown-class "bottom"
    :style {:boxShadow "0 3px 6px 0 rgba(0, 0, 0, 0.15)"
            :backgroundColor "#fff"
