@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.cjs.js
CHANGED
|
@@ -3784,6 +3784,9 @@ class PopsLoading {
|
|
|
3784
3784
|
* 弹窗的主元素,包括动画层
|
|
3785
3785
|
*/
|
|
3786
3786
|
let $anim = PopsElementHandler.parseElement(animHTML);
|
|
3787
|
+
// 遮罩层必须是跟随主内容
|
|
3788
|
+
// 即设置主内容position: relative,mask:position: absolute
|
|
3789
|
+
popsDOMUtils.css($anim, "position", "absolute !important");
|
|
3787
3790
|
let { popsElement: $pops } = PopsHandler.handleQueryElement($anim, PopsType);
|
|
3788
3791
|
/**
|
|
3789
3792
|
* 遮罩层元素
|