Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按钮组结合Tooltip使用时,按钮组中按钮的样式错乱 #2423

Closed
EdenSpark opened this issue Jan 16, 2017 · 3 comments
Closed

按钮组结合Tooltip使用时,按钮组中按钮的样式错乱 #2423

EdenSpark opened this issue Jan 16, 2017 · 3 comments

Comments

@EdenSpark
Copy link

ElementUI version

1.1.3

Vue version

2.1.8

Code

<el-button-group class="operation-btn">
  <el-tooltip content="编辑" placement="top">
    <el-button icon="edit" @click="handleEdit"></el-button>
  </el-tooltip>
  <el-tooltip content="编辑" placement="top">
    <el-button icon="setting" @click="handleSetting"></el-button>
  </el-tooltip>
  <el-tooltip content="编辑" placement="top">
    <el-button icon="delete" @click="handleDelete"></el-button>
  </el-tooltip>
</el-button-group>

Steps to reproduce

按钮组结合Tooltip使用时,按钮组中按钮的样式错乱

@QingWei-Li
Copy link
Contributor

http://jsfiddle.net/tu63krok/
image

正常

@EdenSpark
Copy link
Author

image
@QingWei-Li 多谢回复:-D 我是指这种按钮组的样式没有了

@QingWei-Li
Copy link
Contributor

这样的话目前没办法让 buttonGroup 和 tooltip 结合使用,我重写下 tooltip,放在 1.2 里

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants