All Questions
7
questions
0
votes
0
answers
69
views
Drag an animated component from a ScrollView container to another ScrollView container in React Native
I have two containers which are ScrollView. In one ScrollView, I have a list of texts that are animatable and can be dragged over. The problem is when I dragged them into another ScrollView that ...
0
votes
1
answer
526
views
How to achieve this drag and drop layout in react native?
I wanted to implement drag and drop question-answer layout in react native. I have tried different libraries but have not gotten the desired output. can anyone suggest to me how to achieve this in ...
1
vote
1
answer
4k
views
React Native onLayout x and y are not correct
I am using the React Native PanResponder class to allow for drag and drop if elements of the screen.
What I have discovered is that the onLayout is not returning the x absolute positions, it's being ...
2
votes
1
answer
813
views
How to Make Drag and Drop Quiz in React Native?
hopefully we are all in good health wherever we are.
I have a problem when I want to create a Quiz with Drag and Drop type in React Native. I'm using the react-native-drax library. The data I use ...
1
vote
1
answer
10k
views
TypeError: undefined is not an object (evaluating 'item.name')
I use Draxview to handle drag and drop between two lists. Overall It works perfectly, but sometimes it crashes with an error message:
TypeError: undefined is not an object (evaluating 'item.name') *
...
2
votes
1
answer
2k
views
React Native - panResponder animation not working on iOS
I use a panResponder to create draggable view in my app. It's working fine on android but on iOS, the drag animation stops after moving la little bit.
Vidéo here
Here is my code :
export default ...
1
vote
1
answer
2k
views
React Native Pan Responder
I need some clarification about the PanResponder API in React native. This is the simplest implementation (found in the Animated Docs):
class DraggableView extends React.Component {
constructor(...