@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itfin/components",
3
- "version": "1.0.59",
3
+ "version": "1.0.60",
4
4
  "main": "dist/itfin-components.umd.js",
5
5
  "unpkg": "dist/itfin-components.common.js",
6
6
  "author": "Vitalii Savchuk <esvit666@gmail.com>",
@@ -31,6 +31,7 @@
31
31
  <style lang="scss">
32
32
  .itf-toast-wrapper {
33
33
  max-width: 100%;
34
+ z-index: $zindex-toaster;
34
35
  }
35
36
  .itf-toast-fade-enter-active {
36
37
  animation: itf-toast-fade-in-down 0.3s;
@@ -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 = document.getElementById('app') || document.body; // @todo getElementById remove when cleanup vuetify
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');