fix filter single-static-option when clicking with touchpad in mac

This commit is contained in:
pablodip 2018-02-02 23:39:49 +01:00
parent a3e42fe61f
commit e3a9d07add
1 changed files with 6 additions and 4 deletions

View File

@ -101,7 +101,9 @@
(merge {:on-click #(do (rf/dispatch [::handlers/set-open-bounty-filter-type (merge {:on-click #(do (rf/dispatch [::handlers/set-open-bounty-filter-type
filter-type filter-type
option-type]) option-type])
(reset! tooltip-open? false))} (reset! tooltip-open? false))
:tab-index 0
:on-focus #(reset! tooltip-open? true)}
(when (= option-type current-filter-value) (when (= option-type current-filter-value)
{:class "active"})) {:class "active"}))
option-text])]) option-text])])