xiaoluoboding / vue-command-palette

⌨️ A fast, composable, unstyled command palette interface for Vue.
https://vue-command-palette.vercel.app
MIT License
530 stars 26 forks source link

Add clickOutside props #3

Closed agostinofiscale closed 1 year ago

agostinofiscale commented 1 year ago

Hi @xiaoluoboding,

because I needed to close the commandBar whenever there was a clickOutside the bar I needed to pass the function to handle its behavior.

I hope this can be useful :)

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
vue-command-palette ✅ Ready (Inspect) Visit Preview Nov 11, 2022 at 0:25AM (UTC)
xiaoluoboding commented 1 year ago

Needs more work. I tested the clickOutside function passed outside the CommandDialog and it doesn't seem to work correctly.