ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.1k stars 14.64k forks source link

[bug report] El radio parent container binding click triggers double #19589

Open seafronthu opened 4 years ago

seafronthu commented 4 years ago

Element UI version

2.13.2

OS/Browsers version

macOs 10.15.4/版本 83.0.4103.61(正式版本) (64 位)

Vue version

2.6.11

Reproduction Link

https://codepen.io/seafronthu/pen/MWKaYbm?editable=true%3Dhttps%3A%2F%2Felement.eleme.cn%2F2.13%2F

Steps to reproduce

点击el-radio的容器div

What is Expected?

只会触发一次click事件

What is actually happening?

触发了两次

element-bot commented 4 years ago

Translation of this issue:

Element UI version

2.13.2

OS/Browsers version

MacOS 10.15.4/version 83.0.4103.61 (official) (64 bit)

Vue version

2.6.11

Reproduction Link

https://codepen.io/seafronthu/pen/MWKaYbm?editable=true%3Dhttps%3A%2F%2Felement.eleme.cn%2F2.13%2F

Steps to reproduce

Click the container div of El radio

What is Expected?

Only one click event will be triggered

What is actually happening?

Triggered twice

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.