Skip to content

Why it close when click by mouse or touch, without triggering onSelect or nevigate? #1255

Answered by linonetwo
linonetwo asked this question in Q&A
Discussion options

You must be logged in to vote

tiddly-gittly/tw-command-palette@70f2ed6

write a onSelect arrow function, and call it in both onSelect({ item }) { and onclick: () => {

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@linonetwo
Comment options

@linonetwo
Comment options

Answer selected by linonetwo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant