@whitesev/pops 2.0.4 → 2.0.5
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/index.amd.js +3 -0
- package/dist/index.amd.js.map +1 -1
- package/dist/index.cjs.js +3 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.iife.js +3 -0
- package/dist/index.iife.js.map +1 -1
- package/dist/index.system.js +3 -0
- package/dist/index.system.js.map +1 -1
- package/dist/index.umd.js +3 -0
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/components/loading/index.ts +3 -0
package/dist/index.esm.js
CHANGED
|
@@ -3782,6 +3782,9 @@ class PopsLoading {
|
|
|
3782
3782
|
* 弹窗的主元素,包括动画层
|
|
3783
3783
|
*/
|
|
3784
3784
|
let $anim = PopsElementHandler.parseElement(animHTML);
|
|
3785
|
+
// 遮罩层必须是跟随主内容
|
|
3786
|
+
// 即设置主内容position: relative,mask:position: absolute
|
|
3787
|
+
popsDOMUtils.css($anim, "position", "absolute !important");
|
|
3785
3788
|
let { popsElement: $pops } = PopsHandler.handleQueryElement($anim, PopsType);
|
|
3786
3789
|
/**
|
|
3787
3790
|
* 遮罩层元素
|