I can drag the view around as long as I do not release the mouse
If I release the mouse I cannot restart dragging the view again from its last position, but if I try to do it from its initial position it somewhat works
When setting useNativeDrive to true, the app crashes with an uncaught exception
With useNativeDrive is false, it partially works, but with this dragging issue:
TypeError: config.onPanResponderMove is not a function. (In 'config.onPanResponderMove(event, gestureState)', 'config.onPanResponderMove' is an instance of AnimatedEvent)
Reproducible Demo
I took the code directly from React Native website here, but since the code is really small, I will just past it here bellow
Well, this is indeed a bug I have not seen before. Thanks for the report! I'm not sure when we'll look at it, but I wanted you to know I've seen your issue
Environment
Steps to reproduce the bug
Expected Behavior
Example working on mobile:
https://github.com/user-attachments/assets/21986dd0-a667-4e0e-b32f-0f4ef4a92e6b
Actual Behavior
With useNativeDrive is false, it partially works, but with this dragging issue:
https://github.com/user-attachments/assets/c14a84e2-f1a1-4ba5-87b3-b12a896aa724
Error I got after setting useNativeDrive to true:
Reproducible Demo
I took the code directly from React Native website here, but since the code is really small, I will just past it here bellow
Example code
```Typescript import React, {useRef} from 'react'; import {Animated, View, StyleSheet, PanResponder, Text} from 'react-native'; const App = () => { const pan = useRef(new Animated.ValueXY()).current; const panResponder = useRef( PanResponder.create({ onMoveShouldSetPanResponder: () => true, onPanResponderMove: Animated.event([null, {dx: pan.x, dy: pan.y}], { useNativeDriver: true }), onPanResponderRelease: () => { pan.extractOffset(); }, }), ).current; return (Additional context
Initially I thought it was an issue with PanResponder alone, but searching a bit, it may be related with: