@yueglobal/ui 1.0.5 → 1.0.6
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/package.json
CHANGED
|
@@ -383,10 +383,11 @@ function _setPopupStyle(uuid, left, zIndex) {
|
|
|
383
383
|
popupUL.style.justifyContent = 'unset';
|
|
384
384
|
}
|
|
385
385
|
if (zIndex) {
|
|
386
|
-
var
|
|
387
|
-
|
|
386
|
+
var _rootEle$tagName;
|
|
387
|
+
// const rootEle = popupUL.parentElement?.parentElement;
|
|
388
|
+
var rootEle = popupUL.parentElement;
|
|
388
389
|
if (rootEle && ((_rootEle$tagName = rootEle.tagName) === null || _rootEle$tagName === void 0 ? void 0 : _rootEle$tagName.toLowerCase()) !== 'body') {
|
|
389
|
-
rootEle.style.position = 'relative';
|
|
390
|
+
// rootEle.style.position = 'relative';
|
|
390
391
|
rootEle.style.zIndex = ++popupZIndex + '';
|
|
391
392
|
}
|
|
392
393
|
}
|