精品即兴分析

44 阅读1分钟

element-ui PopupManager 设计优秀 z-index 全局使用,即使是弹出层中有弹出层或是下拉都不会被z-index 困扰

Select 组件使用 PopupManager

Select 组件的下拉菜单被显示时,它会从 PopupManager 获取一个新的 z-index 值。以下是相关的代码片段:

image.png