fix filter single-static-option when clicking with touchpad in mac
This commit is contained in:
parent
a3e42fe61f
commit
e3a9d07add
|
@ -98,10 +98,12 @@
|
||||||
(for [[option-type option-text] (::ui-model/bounty-filter-type.options filter-type-def)]
|
(for [[option-type option-text] (::ui-model/bounty-filter-type.options filter-type-def)]
|
||||||
^{:key (str option-type)}
|
^{:key (str option-type)}
|
||||||
[:div.open-bounties-filter-list-option
|
[:div.open-bounties-filter-list-option
|
||||||
(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])])
|
||||||
|
|
Loading…
Reference in New Issue