mirror of
https://github.com/element-plus/element-plus.git
synced 2024-11-27 02:01:15 +08:00
fix: [dropdown] with dialog use zIndex loop (#7012)
Co-authored-by: xiaochenchen <xiaochen.chen@igg.com>
This commit is contained in:
parent
2f38edd715
commit
5849909577
@ -73,7 +73,7 @@ const createPopperInstance = ({ referenceEl, popperContentEl, arrowEl }) => {
|
||||
|
||||
const updatePopper = () => {
|
||||
unref(popperInstanceRef)?.update()
|
||||
contentZIndex.value = props.zIndex || nextZIndex()
|
||||
contentZIndex.value = props.zIndex || contentZIndex.value || nextZIndex()
|
||||
}
|
||||
|
||||
const togglePopperAlive = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user