element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] Table column width is not computed correctly when `scrollY` is false

Open reclay opened this issue 9 years ago • 1 comments

Element UI version

1.4.4

OS/Browsers version

chrome 61

Vue version

2.4.0

Reproduction Link

https://jsfiddle.net/m8ch4vhj/

Steps to reproduce

This issue is caused by table-layout.js which did not take into account the situation of scrollY image

What is Expected?

let totalFlexWidth = bodyWidth - bodyMinWidth;
totalFlexWidth -= this.scrollY ? this.gutterWidth : 0;

What is actually happening?

const totalFlexWidth = bodyWidth - this.gutterWidth - bodyMinWidth;

reclay avatar Sep 08 '17 03:09 reclay

Fixed in Carbon

liril-net avatar Nov 01 '17 02:11 liril-net