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.

Swipe Gesture component breaks ScrollView

See original GitHub issue

I have a ScrollView wrapped in a <GestureRecognizer> component. The Swipe action works great, but the scroll view stopped scrolling properly. It’s very glitchy and hardly detects scroll events.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

2reactions
TylerB24890commented, Oct 26, 2017

I fixed this issue by returning a <ScrollView> component as the <GestureRecognizer> instead of the standard <View> – all seems to be working as expected.

0reactions
dooleyb1commented, Jan 31, 2020

Having the same issue, anyone get a solution without editing the library source code itself?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gestures inside a scrollview are not working - Microsoft Q&A
In a frame, all the gestures work fine. Adding a scrollview to the mix breaks everything. The swipe events are not fired.
Read more >
Scrollview is not working inside GestureRecognizer React ...
But scrolling of the flatlist is not working because of gestureRecongizer. without this it works perfectly but If I use GestureRecognizer, ...
Read more >
Using complex gestures in a SwiftUI ScrollView - Daniel Saidi
The gestures conflict with the scroll view gestures, which cause scrolling to stop working and the gestures not being detected.
Read more >
react horizontal swipe
This video guides you how to swipe to delete an Item in FlatList with React Native: - Add react-native-swipeout package to use Swipeout...
Read more >
ScrollView from scratch with PanGestureHandler in ... - YouTube
In this tutorial we'll learn how to recreate the scroll behavior with just a PanGestureHandler component (from react-native- gesture -handler ...
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