ElemeFE / ElemeFE/element

[Bug Report] 网页缩放后,el-table show-overflow-tooltip ,原本无tooltip的短内容也展示了tooltip,且没有附加缩略符号

Open
#22,802 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.1.5

### OS/Browsers version
Version 120.0.6099.130 (Official Build) (64-bit)

### Vue version
2.6.14

### Reproduction Link
https://codepen.io/ziyoung/pen/rRKYpds

### Steps to reproduce
**无重现链接 (the link is random)**

1. 基础表格案例 https://element.eleme.cn/#/zh-CN/component/table
2. 配置 姓名列属性 show-overflow-tooltip,且配置数据 ‘a’,使其不展示tooltip
3. 缩放网页(ctrl 鼠标滚轮)至 125%、150%后,此时鼠标悬置姓名单元格‘a’上

### What is Expected?
1. 根据内容长度隐藏后展示单元格内容

### What is actually happening?
1. 单元格未出现缩略样式(省略号),却出现了tooltip,且 tooltip 的样式有错位

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.