-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working with scrollview #71
Comments
Any update on this issue? |
The issue arises because the ScrollView remains active while the draggable item is being interacted with. To fix this, you can dynamically disable scrolling in the ScrollView when a user touches the draggable item and re-enable it when the touch ends. Solution: jsx const MyComponent = () => { const renderItem = item => ( const onDragStart = () => { const onDragRelease = newData => { return ( const styles = StyleSheet.create({ export default MyComponent; |
I have put the whole draggable component inside scrollview and I managed the state as well but I when I start dragging a block and bring it down to end of the list then it does not render next items. I need to manually scroll to bottom of the scrollview to see where new block has been placed.
Uploading Screen Recording 2022-07-14 at 4.28.28 PM.mov…
The text was updated successfully, but these errors were encountered: