NervJS / nerv

A blazing fast React alternative, compatible with IE8 and React 16.

Home Page:https://nerv.aotu.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nervjs1.4.0版本之后safari浏览器,iphone webview里input中文输入异常

kaqiling opened this issue · comments

commented

代码见https://codesandbox.io/s/nerv-sandbox-m6ts0?file=/index.js
复现步骤:

  1. 输入框中使用中文输入法输入中文“啊啊啊啊”;
  2. 鼠标光标向前移动到字符串中间,插入输入其他中文“宝宝”;
  3. 出现异常,光标自动跳到字符串结尾,而不是停留在“宝宝”后面。

影响taro-components上的Input以及taro-ui的AtInput在ios上使用,目前只能降级使用nervjs1.3.13,不知道taro1.x上使用nervjs1.3.13有没有其他影响?