element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report], when the width of the el-table container is determined by el-table, bug appears

Open FrankFang opened this issue 9 years ago • 6 comments

Element UI version

1.4.2

OS/Browsers version

MacOS / Chrome 60

Vue version

2.4.2

Reproduction Link

https://codepen.io/FrankFang/pen/VzdoGY

Steps to reproduce

当 el-table 容器的宽度是由 el-table 决定时,会出现 bug

What is Expected?

table 不应该有这样的「动画」

What is actually happening?

table 出现了烦人的「动画」

FrankFang avatar Aug 24 '17 06:08 FrankFang

Translation of this issue:

Element UI version

1.4.2

OS/Browsers version

MacOS / Chrome 60

Vue version

2.4.2

Reproduction Link

https://codepen.io/FrankFang/pen/VzdoGY

Steps to reproduce

When the width of the el-table container is determined by el-table, bug appears

What is Expected?

Table shouldn't have such an animation

What is actually happening?

"Annoying animation" has appeared in table

element-bot avatar Aug 24 '17 06:08 element-bot

@element-bot Thanks for your translation!

FrankFang avatar Aug 24 '17 06:08 FrankFang

这个是不是跟你的布局有关的?@FrankFang 你看下这个是否是你需要的

.flex {
  display: flex;
  flex:1;
  border: 2px solid black;
  padding: 5px;
}

https://codepen.io/openks/pen/mMjbPm

openks avatar Aug 24 '17 06:08 openks

@openks 不管我怎么布局,都不应该有动画 The animation is not expected.

FrankFang avatar Aug 24 '17 14:08 FrankFang

这个有解决方案吗? @FrankFang

adntin avatar Sep 21 '17 11:09 adntin

Fixed in Carbon

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