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