RubyLouvre / anu

the React16-compat library with hooks

Home Page:https://rubylouvre.github.io/anu/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

input onChange事件输入中文无法触发

wengrongguo opened this issue · comments

** 描述 **
input绑定onChange事件,输入中文时无法触发,直到失去焦点才会触发一次,输入其他字符(数字、字母)无此问题,debug发现输入中文时!dom.__onComposition===false

** 环境 **
浏览器:Chrome(73)
类库:ReactIE(1.5.9)

image

已经搞定

你好,试了一下最新版本,这个问题在chrome依然存在,在IE8下可以触发change事件,但是IE8点击删除键删除字符的时候光标会自动挪动到最前面