element icon indicating copy to clipboard operation
element copied to clipboard

[Bug Report] clicks on buttons to expand tree nodes, sometimes triggering node-click events, and sometimes nothing

Open listen-lee opened this issue 9 years ago • 4 comments

Element UI version

1.3.3

OS/Browsers version

windows 7/ chrome

Vue version

2.3.3

Reproduction Link

https://jsfiddle.net/2j5jg6yp/

Steps to reproduce

点击 不同展开按钮图标,有时会alert出 数据,有时候正常

What is Expected?

点击展开按钮图标不会触发node-click事件,即不会弹出数据

What is actually happening?

点击 展开按钮图标,有时会alert出 数据,有时候正常

listen-lee avatar May 22 '17 09:05 listen-lee

Translation of this issue:

Element UI version

1.3.3

OS/Browsers version

Windows 7/ Chrome

Vue version

2.3.3

Reproduction Link

https://jsfiddle.net/2j5jg6yp/

Steps to reproduce

Click on the different start button icon, sometimes alert out of data, sometimes normal

What is Expected?

Clicking the expand button icon does not trigger the node-click event, i.e. data will not pop up

What is actually happening?

Click the "expand" button icon, sometimes alert out of data, sometimes normal

element-bot avatar May 22 '17 09:05 element-bot

没人遇到这种问题么,比如做下拉树的时候? 点击 图标有时会触发 node-click 事件

listen-lee avatar May 23 '17 08:05 listen-lee

I did some test clicks in your demo and node-click does not trigger when the triangle icon itself is clicked.

Leopoldthecoder avatar May 29 '17 06:05 Leopoldthecoder

@Leopoldthecoder i just try it,it does trigger when the triangle icon itself is clicked 。 windows 7 / chrome 58.0.3029.110 (64-bit)

listen-lee avatar Jun 06 '17 09:06 listen-lee