ksc-fe / kpc

A UI Components Library for Intact, Vue, React and Angular.
https://design.ksyun.com/
MIT License
364 stars 53 forks source link

【React】事件冒泡问题 #973

Closed Javey closed 8 months ago

Javey commented 9 months ago

CodeSandbox

Description

  1. 绑定事件到Intact组件上,不能阻止冒泡
  2. 绑定事件到React元素上,阻止冒泡会让子元素为Intact组件的元素,绑定的事件失效
Javey commented 9 months ago

6e79fbb255efcd250feb021a661176cb363fdea1