react-web icon indicating copy to clipboard operation
react-web copied to clipboard

TouchableOpacity onPress no response

Open sduqlsc opened this issue 8 years ago • 9 comments

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, image

image

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"
  },

sduqlsc avatar Mar 13 '17 02:03 sduqlsc

+1+1+1

91jason avatar Mar 13 '17 08:03 91jason

我看了master更新支持到 react15.4; 但是估计更新到15.4就会有这个问题,

brainpoint avatar Mar 13 '17 10:03 brainpoint

我降级了就没问题

91jason avatar Mar 13 '17 14:03 91jason

@91jason react-web版本降级吗,如何降级?

sduqlsc avatar Mar 13 '17 23:03 sduqlsc

@91jason @sduqlsc 先回退到 15.3 版本, 15.4 还需要更多的测试

cssivision avatar Mar 14 '17 01:03 cssivision

@sduqlsc @cssivision @brainpoint @91jason , #227 fixed this issue

flyskywhy avatar Mar 14 '17 02:03 flyskywhy

@cssivision 只回退react版本,还是react-web也需要重新安装?

sduqlsc avatar Mar 14 '17 02:03 sduqlsc

@sduqlsc 重新安装

cssivision avatar Mar 14 '17 02:03 cssivision

@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

sduqlsc avatar Mar 14 '17 02:03 sduqlsc