Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to close programmatically opened nuxt ui modal from within the modal - Nuxt
N
Nuxt
•
2y ago
•
2 replies
Hro
How to close programmatically opened nuxt ui modal from within the modal
I have a modal that opens like this
:
modal.open(SomeModal, {onClose() => {console.log('closed')})
modal.open(SomeModal, {onClose() => {console.log('closed')})
When clicking outside the modal
, it console logs properly
, however
, when I call modal
.close
(
) from inside the modal it does not
.
What
's the proper way to close the modal from inside
?
(a cancel button for example
)
Nuxt
Join
Nuxt Community Chat Server
31,686
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Nuxt UI Modal
N
Nuxt / ❓・help
2y ago
Nuxt UI Imports within Nuxt Module
N
Nuxt / ❓・help
3mo ago
[kapa.ai] Nuxt UI: How to make modal content wider.
N
Nuxt / ❓・help
4mo ago
How to add colors from tailwind to nuxt ui ?
N
Nuxt / ❓・help
6mo ago