@dataloop-ai/components 0.13.13 → 0.13.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -112,19 +112,23 @@ export default defineComponent({
|
|
|
112
112
|
(this.$el as HTMLElement).blur()
|
|
113
113
|
}
|
|
114
114
|
this.show = false
|
|
115
|
-
this.$emit('hide')
|
|
116
115
|
this.$emit('update:modelValue', false)
|
|
117
116
|
if (!this.hasParent) {
|
|
118
117
|
document.documentElement.style.overflow = 'auto'
|
|
119
118
|
}
|
|
119
|
+
this.$nextTick(() => {
|
|
120
|
+
this.$emit('hide')
|
|
121
|
+
})
|
|
120
122
|
},
|
|
121
123
|
openModal() {
|
|
122
124
|
this.show = true
|
|
123
|
-
this.$emit('show')
|
|
124
125
|
this.$emit('update:modelValue', true)
|
|
125
126
|
if (!this.hasParent) {
|
|
126
127
|
document.documentElement.style.overflow = 'hidden'
|
|
127
128
|
}
|
|
129
|
+
this.$nextTick(() => {
|
|
130
|
+
this.$emit('show')
|
|
131
|
+
})
|
|
128
132
|
}
|
|
129
133
|
}
|
|
130
134
|
})
|
|
@@ -193,6 +197,7 @@ export default defineComponent({
|
|
|
193
197
|
.content {
|
|
194
198
|
padding: 10px 16px 30px 16px;
|
|
195
199
|
overflow: auto;
|
|
200
|
+
height: 100%;
|
|
196
201
|
|
|
197
202
|
&--fullscreen {
|
|
198
203
|
flex-grow: 1 !important;
|