Skip to content

How to prevent window from closing on blur? #701

Discussion options

You must be logged in to vote

arg can take a config object as the first argument:

Open ignore-blur-demo in Script Kit

// Name: Ignore Blur Demo

import "@johnlindquist/kit"

await arg({
    placeholder: "This should stay open",
    ignoreBlur: true
}, ["Yay", "Huzzah!"])

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by brettshepherd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants