本文主要是介绍react native console.error...,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Attempted to transition from state `RESPONDER_INACTIVE_PRESS_IN` to `RESPONDER_ACTIVE_LONG_PRESS_IN`, which is not supported. This is most likely due to `Touchable.longPressDelayTimeout` not being cancelled.
主要原因是:TouchableOpacity的onPress方法中不应该直接写内容,应该将内容定义成方法之后在调用
这篇关于react native console.error...的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!