@itfin/components 1.2.57 → 1.2.58
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
|
@@ -107,7 +107,7 @@ class itfModal extends Vue {
|
|
|
107
107
|
}
|
|
108
108
|
let context = document.body;
|
|
109
109
|
if (this.appendToContext && this.$el instanceof Node && this.$el.parentNode) {
|
|
110
|
-
context = this.$el.closest('.itf-append-context') || document.body;
|
|
110
|
+
context = this.$el.closest('.itf-append-context:not(.modal-content)') || document.body;
|
|
111
111
|
this.$el.parentNode.removeChild(this.$el);
|
|
112
112
|
context.appendChild(this.$el); // should append only to body
|
|
113
113
|
} else if (this.appendToBody && this.$el instanceof Node && this.$el.parentNode) {
|