react-native-image-zoom icon indicating copy to clipboard operation
react-native-image-zoom copied to clipboard

关于horizontalWholeOuterCounter的计算, 影响了连续滑动时候, 横坐标的偏移计算

Open charmer1989 opened this issue 7 years ago • 4 comments

在持续滑动的过程中, 反向移动, 横向就不能跟着移动了, 测试出来的是horizontalWholeOuterCounter计算相关的Bug, 在使用过程中感觉horizontalOuterRangeOffset这个函数完全可以被onMove替代! 所以我简单的注释掉, 然后把Y计算的类似写一份X的就可以了! 有待作者验证!

charmer1989 avatar Dec 26 '17 02:12 charmer1989

能否发一下改动 diff,我本地测试下效果看看?

ascoders avatar Jan 16 '18 11:01 ascoders

What object i need to put in onMove function Can you please state that how can i use it in my code , onMove represents

(object)=>void

So what i need to put inside it ?

githubmss avatar Mar 28 '18 11:03 githubmss

@githubmss fixed.

ascoders avatar Mar 29 '18 02:03 ascoders

@githubmss https://github.com/ascoders/react-native-image-zoom/blob/master/src/image-zoom/image-zoom.type.ts#L133

ascoders avatar Mar 29 '18 02:03 ascoders