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.

Disable swipe, disable navigation

See original GitHub issue

Hello,

I try something unusual with Swiper : I want to disable swiping/sliding touch move and only change slide programmatically. I disable swiping move : vm.sliderOptions = { loop : false, effect : 'flip', speed : 200, initialSlide : 0, pagination : false, simulateTouch : false, allowSwipeToNext: false, allowSwipeToPrev: false };

And I can’t slide to another slide programmatically : vm.slider.slidePrev(); I need to unlock swipe to do that : vm.slider.unlockSwipeToPrev(); vm.slider.slidePrev(); vm.slider.lockSwipeToPrev();

Do I miss something ?

Thanks

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

16reactions
jfitz0commented, Feb 14, 2017

IMO it would be a useful feature to disable manual swiping while allowing programatic swiping rather than unlocking, sliding, and then locking again.

0reactions
glemierecommented, Apr 20, 2018

btw : @AStaege I’m doing lazy loading as well behind my overlay, I’ve noticed that Safari has a memory leak issue while loading pictures on the latest version, are you able to confirm ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to disable swipe navigation on Microsoft Edge Version ...
edge://flags. In the Search box on the flags page, type overscroll. Disable 'Overscroll History Navigation' Then, restart Edge .
Read more >
Disable swipe navigation in Chrome and Edge (Chromium ...
Within the settings page, you'll find an item titled “Overscroll history navigation”, which you can disable. Overscroll Navigation History. You ...
Read more >
How to disable swipe navigation on Edge for Mac - Ask Different
I found a solution in the trackpad settings. In System Preferences go to Trackpad > More Gestures. Then disable "Swipe between pages".
Read more >
react navigation v6 and v5, Disable swipe back action
1. set getureEnabled to false on any route you want to disable swiping. · As the answers mention, you should pass gestureEnabled: false...
Read more >
Problem: How can I disable swipe navigation between tabs
If yes, then open Dashboard to which you want swipe disabled. Then press 3 dots in upper right corner → Edit Dashboard →...
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