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