mirror of https://github.com/logseq/logseq
fix: mobile tap on quick search items
parent
c006ac3588
commit
21988d3df9
|
@ -424,7 +424,7 @@ export const LogseqQuickSearch = observer(
|
|||
}}
|
||||
// we have to use mousedown && stop propagation EARLY, otherwise some
|
||||
// default behavior of clicking the rendered elements will happen
|
||||
onMouseDownCapture={e => {
|
||||
onPointerDownCapture={e => {
|
||||
if (onChosen()) {
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
|
|
Loading…
Reference in New Issue