element icon indicating copy to clipboard operation
element copied to clipboard

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

Open guangze233 opened this issue 2 years ago • 0 comments

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 的样式有错位

guangze233 avatar Jan 29 '24 08:01 guangze233