question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android: No Dragging, Item Jumps to Top (RN 0.61.5)

See original GitHub issue

See video: Screen-Recording-2019-12-18-at-13 48 44

Repro

  • npx react-native init XXX --template react-native-template-typescript
  • Install peer dependencies
  • Replace content of App.tsx with example code from readme
  • Run on Android

Package: Dependencies

“dependencies”: { “react”: “16.9.0”, “react-native”: “0.61.5”, “react-native-draggable-flatlist”: “^2.0.10”, “react-native-gesture-handler”: “^1.5.2”, “react-native-reanimated”: “^1.4.0” },

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
tamirlacommented, Jan 22, 2020

@computerjazz hi I see this behaviour when the component is presented inside Modal. Once it is presented in regular view everything works as expected so I guess it’s not installation issue. Is there any known issue related to Modal ? I didn’t find anything

anyway, for now my workaround is to simulate Modal behaviour using regular view.

1reaction
juanjsebgarciacommented, Feb 24, 2020

I can also confirm it does not work as expected inside a Modal

Read more comments on GitHub >

github_iconTop Results From Across the Web

RecyclerView when dragging first item, it jumps to bottom
When I start to drag first item down, first and second elements swap positions, RecyclerView is scrolled up and the first element(that I...
Read more >
React Native Debugger: Tips for fast debugging
React Native Debugger comes with features that can boost your development and debugging speed. Here's how to use it.
Read more >
Building an offline first app with React Native and SQLite
This article walks through how I built an offline first React Native app using a device-local SQLite database, and details the patterns that...
Read more >
Push Notifications with Firebase in React Native
RN Minumum supported Gradle version is 5.2 so its gonna make you encounter a compile error if you change it to gradle-4.4-all.zip. Solution:...
Read more >
Logging Into React Native Apps with Facebook or Google
Enter http://localhost:3000/auth/facebook/callback into Valid OAuth redirect URIs field and click Save Changes. Copy APP ID at the top of the ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found