react-native-spring-scrollview icon indicating copy to clipboard operation
react-native-spring-scrollview copied to clipboard

V3.0.2 还是没有修复 滑动误触点击事件

Open JonsonHI opened this issue 3 years ago • 7 comments

看了下代码,有些代码没有合并进3.0.2 请大佬看下 合并进去

JonsonHI avatar Oct 14 '21 01:10 JonsonHI

js 文件里的一些手势 并没有PR 进去 我修改了下 PR的代码 确实不会误触了

JonsonHI avatar Oct 14 '21 02:10 JonsonHI

他那个有setstate pointerevent,这会导致重绘,在滑动的时候会影响性能,没有完全采用他的代码。最近在做4.0版本

bolan9999 avatar Oct 15 '21 02:10 bolan9999

好的感谢,方便告知下进度吗? 列表还等着这个组件进行

JonsonHI avatar Oct 15 '21 02:10 JonsonHI

springscrollview 4.0分支,可以clone看看

bolan9999 avatar Oct 15 '21 03:10 bolan9999

这是RN自身的问题 import { TouchableOpacity } from 'react-native-gesture-handler' 用RNGH里的TouchableOpacity替换原有组件,基本可以解决误触的问题

xilin0923 avatar Oct 18 '21 10:10 xilin0923

这是RN自身的问题 import { TouchableOpacity } from 'react-native-gesture-handler' 用RNGH里的TouchableOpacity替换原有组件,基本可以解决误触的问题

使用RNGH组件后,误触确实有改善。但是快速滑动scrollview时,误触率还是很高。请问这个问题你解决了吗?

THDGunner avatar Dec 08 '21 03:12 THDGunner

@THDGunner 只能说fuck了

songxiaoliang avatar Apr 15 '24 08:04 songxiaoliang