@firstlook-uat/sdk 0.3.0 → 0.3.1
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/dist/firstlook.es.js
CHANGED
|
@@ -987,6 +987,7 @@ const _ = (
|
|
|
987
987
|
bottom: 24px;
|
|
988
988
|
right: 24px;
|
|
989
989
|
z-index: 2147483647;
|
|
990
|
+
pointer-events: auto;
|
|
990
991
|
width: 360px;
|
|
991
992
|
max-width: calc(100vw - 48px);
|
|
992
993
|
background: #ffffff;
|
|
@@ -1179,6 +1180,7 @@ const _ = (
|
|
|
1179
1180
|
position: fixed;
|
|
1180
1181
|
inset: 0;
|
|
1181
1182
|
z-index: 2147483647;
|
|
1183
|
+
pointer-events: auto;
|
|
1182
1184
|
background: rgba(0, 0, 0, 0.7);
|
|
1183
1185
|
display: flex;
|
|
1184
1186
|
flex-direction: column;
|
|
@@ -1276,6 +1278,7 @@ const _ = (
|
|
|
1276
1278
|
bottom: 100px;
|
|
1277
1279
|
right: 24px;
|
|
1278
1280
|
z-index: 2147483646;
|
|
1281
|
+
pointer-events: auto;
|
|
1279
1282
|
background: #fff;
|
|
1280
1283
|
border-radius: 12px;
|
|
1281
1284
|
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
|
|
@@ -1557,7 +1560,7 @@ class X {
|
|
|
1557
1560
|
// Private methods
|
|
1558
1561
|
// ----------------------------------------------------------------
|
|
1559
1562
|
createShadowHost() {
|
|
1560
|
-
this.hostElement = document.createElement("div"), this.hostElement.id = "firstlook-sdk-root", this.hostElement.style.cssText = "position:fixed;
|
|
1563
|
+
this.hostElement = document.createElement("div"), this.hostElement.id = "firstlook-sdk-root", this.hostElement.style.cssText = "position:fixed;inset:0;z-index:2147483647;pointer-events:none;", document.body.appendChild(this.hostElement), this.shadowRoot = this.hostElement.attachShadow({ mode: "closed" });
|
|
1561
1564
|
const t = document.createElement("style");
|
|
1562
1565
|
t.textContent = _, this.shadowRoot.appendChild(t);
|
|
1563
1566
|
}
|