\n \u003CUButton label=\"Success\" @click=\"emit('close', true)\" />\n \u003C/div>\n \u003C/template>\n \u003C/UModal>\n\u003C/template>\n\n\n```\n\n\n### Additional context\n\n_No response_",[3075,3076],{"name":3022,"color":3023},{"name":3025,"color":3026},4537,"closed","Modal emitting close event if is dismissed","2025-07-17T10:06:09Z","https://github.com/nuxt/ui/issues/4537",0.6764461,{"description":3084,"labels":3085,"number":3092,"owner":3028,"repository":3029,"state":3078,"title":3093,"updated_at":3094,"url":3095,"score":3096},"### Description\n\n```ts\nimport { ModalsForgotPassword } from '#components'\n\nconst modal = useModal()\n\n\nconst onForgot = async () => {\n await modal.close()\n\n// not opened\n modal.open(ModalsForgotPassword)\n}\n```",[3086,3089],{"name":3087,"color":3088},"question","d876e3",{"name":3090,"color":3091},"needs reproduction","CB47CF",4087,"how to open a new modal again when closing the mod execution","2025-06-01T13:25:48Z","https://github.com/nuxt/ui/issues/4087",0.6920166,{"description":3098,"labels":3099,"number":3103,"owner":3028,"repository":3029,"state":3078,"title":3104,"updated_at":3105,"url":3106,"score":3107},"### For what version of Nuxt UI are you suggesting this?\n\nv3.0.0-alpha.x\n\n### Description\n\nChart is one of many things found when developing a statistics such as in dashboard admin. It would be good if nuxt ui have this component.\n\n### Additional context\n\n_No response_",[3100,3101,3102],{"name":3019,"color":3020},{"name":3022,"color":3023},{"name":3025,"color":3026},2673,"Chart component","2024-11-18T08:33:07Z","https://github.com/nuxt/ui/issues/2673",0.74702203,{"description":3109,"labels":3110,"number":3114,"owner":3028,"repository":3029,"state":3078,"title":3115,"updated_at":3116,"url":3117,"score":3118},"### Environment\n\n- Operating System: `Darwin`\n- Node Version: `v18.20.8`\n- Nuxt Version: `-`\n- CLI Version: `3.25.1`\n- Nitro Version: `-`\n- Package Manager: `npm@10.8.2`\n- Builder: `-`\n- User Config: `-`\n- Runtime Modules: `-`\n- Build Modules: `-`\n\n### Is this bug related to Nuxt or Vue?\n\nVue\n\n### Version\n\nv3.1.3\n\n### Reproduction\n\nhttps://codesandbox.io/p/sandbox/modal-close-not-working-kc99r3\n\n### Description\n\nThe scoped slots `content`, `header`, `body` and `footer` in UModal are supposed to receive an object containing a close-method, as per [the docs](https://ui.nuxt.com/components/modal#slots). They do not; only an empty object is received. Due to this, the Cancel-button from the [footer-example](https://ui.nuxt.com/components/modal#with-footer-slot) in the docs does not work. Inexplicably, the example in the docs works 🤔\n\n### Additional context\n\n_No response_\n\n### Logs\n\n```shell-script\n\n```",[3111,3112,3113],{"name":3063,"color":3064},{"name":3025,"color":3026},{"name":3041,"color":3042},4266,"Modal content, header, body and footer slots not receiving the close method","2025-06-01T06:07:09Z","https://github.com/nuxt/ui/issues/4266",0.747377,{"description":3120,"labels":3121,"number":3124,"owner":3028,"repository":3029,"state":3078,"title":3125,"updated_at":3126,"url":3127,"score":3128},"### Description\n\nhttps://github.com/user-attachments/assets/80bfa1b6-a5ee-4d58-84cc-0a282d3a6cb7\n\n### DeleteModal.vue\n\n```\n\u003Cscript setup lang=\"ts\">\ninterface Props {\n title: string\n description: string\n loading?: boolean\n}\n\nwithDefaults(defineProps\u003CProps>(), {\n loading: false\n})\n\nconst emit = defineEmits\u003C{\n close: [boolean]\n}>()\n\u003C/script>\n\n\u003Ctemplate>\n \u003CUModal :title=\"title\" :description=\"description\">\n \u003Ctemplate #body>\n \u003Cdiv class=\"flex justify-end gap-2\">\n \u003CUButton\n label=\"Cancel\"\n color=\"neutral\"\n variant=\"subtle\"\n size=\"md\"\n @click=\"emit('close', false)\"\n />\n \u003CUButton\n label=\"Delete\"\n color=\"error\"\n variant=\"solid\"\n loading-auto\n :loading=\"loading\"\n size=\"md\"\n @click=\"emit('close', true)\"\n />\n \u003C/div>\n \u003C/template>\n \u003C/UModal>\n\u003C/template>\n```\n\n### NotesListModal.vue\n\n```\n\u003Cscript setup lang=\"ts\">\nimport { UserModalsNoteFormModal as NoteFormModal, DeleteModal } from '#components'\n\nconst overlay = useOverlay()\n\nconst { getUserNotes } = useGetRequest()\nconst { deleteNote } = useDeleteRequest()\nconst { user, UserNotes } = storeToRefs(useUserStore())\n\nconst isLoading = ref(false)\nconst isDeleting = ref(false)\n\nasync function openDeleteModal(id: number) {\n const instance = overlay.create(DeleteModal).open({\n title: 'Delete this note',\n description: 'Are you sure, this action cannot be undone.',\n })\n\n const confirm = await instance.result\n\n if (confirm) {\n await handleDelete(id)\n }\n}\n\nasync function handleDelete(id: number) {\n isDeleting.value = true\n try {\n const response = await deleteNote(id)\n if (response.status_code !== 200) return\n const index = UserNotes.value.findIndex(note => note.id === id)\n if (index !== -1) UserNotes.value?.splice(index, 1)\n } catch (error) {\n console.error('Error:', error)\n } finally {\n isDeleting.value = false\n }\n}\n\nonMounted(async () => {\n if (user.value?.id) {\n isLoading.value = true\n try {\n const response = await getUserNotes(user.value.id)\n if (response.status_code !== 200) return\n UserNotes.value = response.data.data\n } catch (err) {\n console.error(err)\n } finally {\n isLoading.value = false\n }\n }\n})\n\u003C/script>\n\n\u003Ctemplate>\n \u003CUModal :dismissible=\"false\" title=\"Show all notes\">\n \u003Ctemplate #body>\n \u003Cdiv v-if=\"isLoading\" class=\"flex justify-center\">\n \u003CUIcon name=\"i-lucide:loader-circle\" class=\"size-8 animate-spin\" />\n \u003C/div>\n \u003Cdiv v-else class=\"flex flex-col space-y-3\">\n \u003Cdiv v-for=\"note in UserNotes\" :key=\"`note-${note.id}`\" class=\"p-2.5 bg-[var(--ui-bg-elevated)]\">\n \u003Cp class=\"text-highlighted ltr:first-letter:uppercase\">\n {{ note.title }}\n \u003C/p>\n \u003Cspan class=\"text-sm text-muted inline-block ltr:first-letter:uppercase\">{{ note.body }}\u003C/span>\n \u003Cdiv class=\"flex items-center justify-between space-x-3\">\n \u003Cspan class=\"text-sm text-highlighted font-light inline-block\">{{ note.created_at?.split('T')[0] }}\u003C/span>\n \u003Cdiv class=\"flex items-center\">\n \u003CUButton icon=\"i-lucide:edit\" variant=\"link\" size=\"md\" @click=\"overlay.create(NoteFormModal).open({ mode: 'edit', noteId: note.id })\" />\n \u003CUButton icon=\"i-lucide:trash-2\" color=\"error\" variant=\"link\" size=\"md\" @click=\"openDeleteModal(note.id)\" />\n \u003C/div>\n \u003C/div>\n \u003C/div>\n \u003C/div>\n \u003C/template>\n \u003Ctemplate #footer>\n \u003CUButton\n label=\"Add new note\"\n icon=\"i-lucide-plus\"\n color=\"neutral\"\n variant=\"outline\"\n block\n @click=\"overlay.create(NoteFormModal).open({ mode: 'create' })\"\n />\n \u003C/template>\n \u003C/UModal>\n\u003C/template>\n```",[3122,3123],{"name":3087,"color":3088},{"name":3025,"color":3026},4249,"Show loading on delete button and close modal after deletion finishes","2025-06-01T12:38:39Z","https://github.com/nuxt/ui/issues/4249",0.7541491,{"labels":3130,"number":3134,"owner":3028,"repository":3028,"state":3078,"title":3135,"updated_at":3136,"url":3137,"score":3138},[3131],{"name":3132,"color":3133},"2.x","d4c5f9",7387,"mounted hook called twice when using component in page","2023-01-18T15:36:09Z","https://github.com/nuxt/nuxt/issues/7387",0.75538546,["Reactive",3140],{},["Set"],["ShallowReactive",3143],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$ftRgUpy4Xzt7BQgelCN8nuy0wPT09NLhez-GnX12vnGY":-1},"/nuxt/ui/4001"]