element [Bug Report]in el-popover el-tabs__active-bar width calculation is incorrect

v1l68za4  于 21天前  发布在  其他
关注(0)|答案(1)|浏览(18)

Element UI version
2.13.1
Vue version
2.6.10

<el-popover width="400" trigger="hover">

     <el-tabs v-model="activeName" @tab-click="handleClick">

        <el-tab-pane label="用户管理" name="first">用户管理</el-tab-pane>

        <el-tab-pane label="配置管理" name="second">配置管理</el-tab-pane>

    </el-tabs>

    <el-button slot="reference">hover 激活</el-button>

  </el-popover>

codepen运行复现
Steps to reproduce
首次渲染时 el-tabs__active-bar 宽度为0

8yoxcaq7

8yoxcaq71#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题