We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8e02dc commit 62b0615Copy full SHA for 62b0615
packages/coreui-vue/src/components/modal/CModal.ts
@@ -14,6 +14,7 @@ import { CBackdrop } from './../backdrop/CBackdrop'
14
15
const CModal = defineComponent({
16
name: 'CModal',
17
+ inheritAttrs: false,
18
props: {
19
/**
20
* Align the modal in the center or top of the screen.
@@ -159,6 +160,10 @@ const CModal = defineComponent({
159
160
done()
161
})
162
document.body.classList.remove('modal-open')
163
+ if (document.body.className === '') {
164
+ document.body.removeAttribute('class')
165
+ }
166
+
167
el.classList.remove('show')
168
}
169
const handleAfterLeave = (el: RendererElement) => {
0 commit comments