@itfin/components 1.0.59 → 1.0.60
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
|
@@ -121,7 +121,7 @@ class itfModal extends Vue {
|
|
|
121
121
|
}
|
|
122
122
|
if (this.appendToBody && this.$el instanceof Node && this.$el.parentNode) {
|
|
123
123
|
this.$el.parentNode.removeChild(this.$el);
|
|
124
|
-
const elContext =
|
|
124
|
+
const elContext = this.$el.closest('.itf-append-context') || document.body; // @todo getElementById remove when cleanup vuetify
|
|
125
125
|
elContext.appendChild(this.$el);
|
|
126
126
|
}
|
|
127
127
|
const { default: Modal } = await import('bootstrap/js/src/modal.js');
|