mirror of
https://github.com/logseq/logseq.git
synced 2026-04-28 16:15:21 +00:00
fix: replace all onmousedown/up with onpointerdown/up
onMouseDown can't be used in dropdown trigger
This commit is contained in:
@@ -151,7 +151,7 @@
|
||||
(string/lower-case current-command)))
|
||||
date (state/sub :date-picker/date)]
|
||||
[:div#date-time-picker.flex.flex-col.sm:flex-row {:on-click (fn [e] (util/stop e))
|
||||
:on-mouse-down (fn [e] (.stopPropagation e))}
|
||||
:on-pointer-down (fn [e] (.stopPropagation e))}
|
||||
(ui/datepicker
|
||||
date
|
||||
{:deadline-or-schedule? deadline-or-schedule?
|
||||
|
||||
Reference in New Issue
Block a user