element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] fixed table Safari incompatible

Open Anyhow-Lee opened this issue 3 years ago • 3 comments

Element UI version

2.13.2

OS/Browsers version

macOS Monterey 12.3 / Safari浏览器 15.4 (17613.1.17.1.6)

Vue version

2.7.14

Reproduction Link

https://codepen.io/anyhow-lee/pen/wvYdLpZ

Steps to reproduce

1.Set the first column to fixed and each column to width 【 设置第一列 fixed,且每一列均设置width(无 min-width)】 2. in src/styles/index.scss set .el-table .cell css style 【在 src/styles/index.scss 中对 .el-table .cell 写多行省略css】

What is Expected?

In Safari, the fixed column and the slideable row should be aligned without misalignment, and the first fixed column displays all data completely

在Safari浏览器中,固定列 与 可滑动每一行应对齐,不出现错位,且第一列固定列完整显示所有数据

What is actually happening?

In Safari, rows are misaligned and the data in the first column appears incomplete

在Safari浏览器中,出现行错位,且第一列数据显示不完全 image

Anyhow-Lee avatar Apr 27 '23 02:04 Anyhow-Lee

  1. Need to retain header-dragend , so can not use js intercept data method 【需要保留拖拽表头宽度,所以不能用 js 截取数据的方法】
  2. Tried call doLayout after I got tableData, and it didn't work 【试过在获取到tableData 后调用 doLayout 方法,没有解决】

Anyhow-Lee avatar Apr 27 '23 02:04 Anyhow-Lee

后面怎么解决的

jinyang1991 avatar May 21 '24 08:05 jinyang1991

请问解决了吗

Billson3368 avatar Oct 17 '24 05:10 Billson3368