Closed nopshusang closed 2 years ago
Facing the same issue. Did you find any solution to that?
Ah yes, that's a bug! Maybe https://github.com/margelo/react-native-graph/pull/14 fixes this?
The solution above technically fixes it. However, it breaks the initial fingerX position after the hold. The right fix for it is to move the check into the setFingerX
callback
pathEnd.current = isActive.value ? fingerX / width : 1
I recommend you revert that solution and put this one in instead
Pretty basic setup. Pan gesture isn't enabled
When
animated={true}
When
animated={false}