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.

How to disable the gesture?

See original GitHub issue

Hi,

I want to use this component to achieve a function like a wizard, which means I don’t want to use the figure to drag into next screen. I just want to use snapToNext to switch. I don’t find an attribute can set it, so how can I implement this effect?

Cheers

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

19reactions
bd-arccommented, Aug 2, 2017

Hi @wangdicoder,

In the end, there is no need for specific code: ScrollView already has the required prop scrollEnabled. Since Carousel inherits ScrollView’s props, you can use it right away 😉

15reactions
bd-arccommented, Sep 3, 2019

@RamMahe1110 <Carousel scrollEnabled={false} />

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I enable or disable “Gestures” on Android Pie? - Nokia
You can easily enable or disable the 'Gesture' settings. Just navigate to Settings > System > Gestures . Here, you can enable or...
Read more >
Disable Gestures - GNOME Shell Extensions
Disable all gnome built in gestures. Useful for kiosks and touch screen apps. Download. Shell version…
Read more >
How to Disable the Google Assistant Swipe Gesture on Android
Simply toggle the switch off for "Swipe to Invoke Assistant." That's it! You don't have to worry about accidentally launching Google Assistant ...
Read more >
How to Disable Android's Back Gesture on the Left Side to ...
The gesture navigation introduced with Android 10 worked wonders by giving you more of your screen and less tapping. Android 11 offers the ......
Read more >
How to Disable Google Assistant Swipe Gesture on Android 12
Once you've updated your Android device to the latest Android 12 beta, you can immediately disable the corner swipe gesture for Google Assistant ......
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