@saooti/octopus-sdk 34.0.9 → 34.0.11
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
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
:playlist="playlist"
|
|
29
29
|
:participant-id="participantId"
|
|
30
30
|
:organisation-id="organisationId"
|
|
31
|
-
:not-exclusive="notExclusive"
|
|
32
31
|
/>
|
|
33
32
|
</div>
|
|
34
33
|
</template>
|
|
@@ -42,7 +41,6 @@
|
|
|
42
41
|
:playlist="playlist"
|
|
43
42
|
:participant-id="participantId"
|
|
44
43
|
:organisation-id="organisationId"
|
|
45
|
-
:not-exclusive="notExclusive"
|
|
46
44
|
/>
|
|
47
45
|
</div>
|
|
48
46
|
</div>
|
|
@@ -101,6 +101,12 @@ export default defineComponent({
|
|
|
101
101
|
let parentScrollTop = 0;
|
|
102
102
|
if(this.relativeClass){
|
|
103
103
|
const modalBody = document.getElementsByClassName(this.relativeClass)[0];
|
|
104
|
+
if(undefined===modalBody){
|
|
105
|
+
(this.$refs.popover as HTMLElement).style.display = 'block';
|
|
106
|
+
this.posX = 0;
|
|
107
|
+
this.posY = 0;
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
104
110
|
const modalBodyRect = modalBody.getBoundingClientRect();
|
|
105
111
|
parentLeft = modalBodyRect.left;
|
|
106
112
|
parentRight = modalBodyRect.right;
|