-
Notifications
You must be signed in to change notification settings - Fork 577
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
Click on top overlay background when multiple overlays on screen close first opened #1220
Comments
I would like to show action confirmation "dialog" but interacting with it close slideover to disapear. |
Using property |
I have encountered similar problems before #1204 I hope it can be fixed as a bug instead of "nesting them" or "closing one before opening another" Because we may encapsulate some commonly used dialog boxes as utility classes, and other places can be directly opened and passed some parameters through "openXModal (12)". This approach usually involves inserting VNode or div elements into the body, making it difficult to implement nested structures |
Both components uses Headless UI |
Environment
Linux
v18.19.0
3.9.1
3.10.0
2.8.1
yarn@1.22.19
-
anime
,app
,colorMode
,devtools
,eslint
,fontMetrics
,googleFonts
,imports
,modules
,nitro
,pwa
,runtimeConfig
,spaLoadingTemplate
,ssr
,tailwindcss
,telemetry
,ui
,vite
@vite-pwa/nuxt@0.4.0
,@hypernym/nuxt-anime@2.1.1
,@nuxtjs/fontaine@0.4.1
,@nuxtjs/google-fonts@3.1.3
,@nuxtjs/eslint-module@4.1.0
,@nuxt/ui@2.11.1
-
Version
2.11.1
Reproduction
https://stackblitz.com/edit/nuxt-ui-ush1s6?file=app.vue
Description
When USlideover shown and UModal opened on top of it click on overlay in Modal (or anywhere in modal) close USlideover.
Preview:
Screencast.from.2024-01-11.07-52-06.webm
Additional context
Template:
Script:
Logs
No response
The text was updated successfully, but these errors were encountered: