react native 手势相关

背景:

"react": "16.3.1",

"react-native": "0.55.2",

手势参考资料 

官方 :https://facebook.github.io/react-native/docs/gesture-responder-system.html 

https://race604.com/react-native-touch-event/  React Native 触摸事件处理详解

手势相关问题基本在Android平台,iOS上基本完美。

Android问题1: google keyword: react native onstartshouldsetpanrespondercapture not working

result https://medium.com/@hasklin/fixed-react-native-android-panresponder-gestures-not-working-40020d0ae796

dd https://medium.com/@andi.gu.ca/exploring-react-natives-panresponder-and-layoutanimation-dde77e7f4cc9

result  https://github.com/wy-ei/notebook/issues/38

https://github.com/jabez128/jabez128.github.io/issues/1 “指尖上的魔法” -- 谈谈React-Native中的手势

Android问题2: https://github.com/facebook/react-native/issues/11939  [Android] RefreshControl gesture conflicts with horizontal ScrollView gesture

当前时间2018-6-10最新开源库看起来才爽啊,比如这个RefreshList。支持FlatList. 很多开源库还是16年的哦,头疼,要继续在他上面改,争取改成最新的造福开源才能良性循环。

RefreshList https://github.com/razor1895/react-native-refreshable-flatlist

Ganhuo 

react-native-gesture-handler

react-native link react-native-gesture-handler

问题3:scrollableTabView和ViewPager来解决左右滑动冲突

https://blog.csdn.net/sinat_17775997/article/details/71424395

search word:  React Native ScrollView嵌套 site:jianshu.com

https://www.jianshu.com/p/24e0d7661f9b

https://www.jianshu.com/p/6b163481ad18

https://blog.csdn.net/liu__520/article/details/53676834  react native scrollview深入详解触摸滚动事件

https://www.jianshu.com/p/d7e5d0bee1d7

你可能感兴趣的:(react native 手势相关)