Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Popover close-prevented #2245

Open
tkamstra opened this issue Sep 24, 2024 · 3 comments
Open

Popover close-prevented #2245

tkamstra opened this issue Sep 24, 2024 · 3 comments
Labels
question Further information is requested

Comments

@tkamstra
Copy link

Description

Is there a way to prevent popovers from closing when clicking outside the popover?

@tkamstra tkamstra added the question Further information is requested label Sep 24, 2024
Copy link
Member

You can use the prevent-close prop to do that 😊

@tkamstra
Copy link
Author

@benjamincanac unfortunately that doesn't seem to do the trick: https://stackblitz.com/edit/nuxt-ui-tdvvjk?file=app.vue

if you click anywhere the popup closes, but I'd only want it to close when the Close button is pressed

@benjamincanac benjamincanac reopened this Sep 25, 2024
Copy link
Member

Oh sorry, I misread with Slideover 😅 I don't see a way to achieve that at the moment 😬

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants