react-web
react-web copied to clipboard
TouchableOpacity onPress no response
In the login page, clicking button without typing any words:
<TouchableOpacity onPress={this._submitLogin.bind(this, false)}>
<View style={styles.loginBtn}>
<Text style={styles.loginTxt}>Login</Text>
</View>
</TouchableOpacity>
there is no response, or wait a long time to get the local validation message.
using chrome to check, in the console,


Dev envrionment:
"dependencies": {
"color": "^0.11.3",
"fetch-jsonp": "^1.0.2",
"file-loader": "^0.9.0",
"immutable": "^3.8.1",
"lodash": "^4.16.2",
"react": "^15.3.1",
"react-date-range": "^0.2.4",
"react-dom": "^15.3.1",
"react-native": "^0.33.0",
"react-native-loading-spinner-overlay": "^0.3.0",
"react-redux": "^4.4.5",
"react-static-container": "^1.0.1",
"react-timer-mixin": "^0.13.3",
"react-web": "git+https://github.com/taobaofed/react-web.git",
"redux": "^3.6.0",
"redux-persist": "^3.5.0",
"redux-thunk": "^2.1.0",
"remote-redux-devtools": "^0.4.8"
},
+1+1+1
我看了master更新支持到 react15.4; 但是估计更新到15.4就会有这个问题,
我降级了就没问题
@91jason react-web版本降级吗,如何降级?
@91jason @sduqlsc 先回退到 15.3 版本, 15.4 还需要更多的测试
@sduqlsc @cssivision @brainpoint @91jason , #227 fixed this issue
@cssivision 只回退react版本,还是react-web也需要重新安装?
@sduqlsc 重新安装
@flyskywhy 感谢回复,运行后正常,感觉没问题:
react-web": "git+https://github.com/flyskywhy/react-web.git"
@cssivision 删除node modules,执行 npm cache clear后执行 npm install,会重新出现 https://github.com/taobaofed/react-web/issues/234