fix: replace all onmousedown/up with onpointerdown/up

onMouseDown can't be used in dropdown trigger
This commit is contained in:
Tienson Qin
2024-03-12 15:44:30 +08:00
parent 84efd9f3e9
commit 5efb1536c2
24 changed files with 76 additions and 76 deletions

View File

@@ -139,7 +139,7 @@
(when multiple-choices?
[:div.p-4 (ui/button "Apply"
{:small? true
:on-mouse-down (fn [e]
:on-pointer-down (fn [e]
(util/stop e)
(when @*toggle (@*toggle))
(when (fn? on-apply)