Element: el-table中某个el-table-column使用了fixed属性以后,template中的popover不工作?

Created on 7 Mar 2017  ·  6Comments  ·  Source: ElemeFE/element

应用场景:
我使用的是1.2.3版本
在表格最后一栏使用popover来做操作提示
但是当操作这一栏被固定时,或者表格内有任意列被固定时,popover不能正常弹出了

在el-table-column当中的fixed="right"影响了popover绑定的v-model,在去掉以后可以正常运作
麻烦请教一下这是出于设计的考虑还是bug……谢谢啦

参考demo:
http://jsfiddle.net/f8rqagdm/3/

table bug

All 6 comments

[email protected]
同样问题,求解答

我遇到了同样的问题

问题原因:table中使用fixed实际上是叠加了一个table,在你点击popover的时候,就会触发table个数次,这个时候就可能会导致浮窗框创建了,然后又被关掉。 比如,你的表格只使用了fixed-left,那么就是两个表格,就会创建两次弹窗,触发v-model两次则依旧为false;如果fixed-left和right同时使用,则会又3个table,那么会创建3个弹窗,v-model触发三次则可以展示

同遇到问题,有解决办法么

原来我不是唯一一个~~额~~
我也遇到了~~~然后我重写了table...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dbskccc picture dbskccc  ·  3Comments

PanJiaChen picture PanJiaChen  ·  3Comments

fscardua picture fscardua  ·  3Comments

FranzSkuffka picture FranzSkuffka  ·  3Comments

yuchonghua picture yuchonghua  ·  3Comments