element icon indicating copy to clipboard operation
element copied to clipboard

固定列和表头,鼠标移动到缝隙的时候 会报错

Open baijie opened this issue 9 years ago • 4 comments

ElementUI version

OS/Browers version

Vue version

Steps to reproduce

问题:固定列和表头,鼠标移动到缝隙的时候 会报错 代码: // 判断是否text-overflow, 如果是就显示tooltip var cellChild = event.target.querySelector('.cell');

this.tooltipDisabled = cellChild.scrollWidth <= cellChild.offsetWidth; 报错:Uncaught TypeError: Cannot read property 'scrollWidth' of null

baijie avatar Feb 26 '17 14:02 baijie

image

+1

ruofeng086 avatar Feb 28 '17 07:02 ruofeng086

+1

EddieYz3 avatar Mar 20 '17 03:03 EddieYz3

给下 demo

Leopoldthecoder avatar Mar 20 '17 03:03 Leopoldthecoder

你好,因为本 issue 不符合我们的规范,所以被关闭了。请使用 issue-generator 提交 issue。相关信息:#3692。

element-bot avatar Apr 04 '17 06:04 element-bot