Disable swipe, disable navigation
See original GitHub issueHello,
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:
- Created 7 years ago
- Comments:8 (1 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

IMO it would be a useful feature to disable manual swiping while allowing programatic swiping rather than unlocking, sliding, and then locking again.
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 ?