Commit aaf6e7e8 authored by FuryBean's avatar FuryBean Committed by 杨奕

Popper: update zIndex after show again (#9339)

parent 3fffdd15
...@@ -109,7 +109,15 @@ export default { ...@@ -109,7 +109,15 @@ export default {
}, },
updatePopper() { updatePopper() {
this.popperJS ? this.popperJS.update() : this.createPopper(); const popperJS = this.popperJS;
if (popperJS) {
popperJS.update();
if (popperJS._popper) {
popperJS._popper.style.zIndex = PopupManager.nextZIndex();
}
} else {
this.createPopper();
}
}, },
doDestroy() { doDestroy() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment