简体   繁体   中英

React Native onPress event delay

I develop an application with React Native and everything is ok, but there is one problem. when I touch TouchableOpacity or TouchableWithoutFeedback in Android there is some second delay for trigger onPress event and I don't know why. anyone can help me???

我删除了所有控制台消息,并用TouchableWithoutFeedback替换了TouchableOpacity并禁用了导航过渡动画,因此速度更快

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM