Problem with "draggable: false" and "swipe"
See original GitHub issueAfter I set draggable: false
for desktops, swipe: true
stop working on touch devices.
1.3.7 - bug reproduced 1.3.6 - bug not reproduced
Issue Analytics
- State:
- Created 9 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Breaking swipeleft/-right when drag an element - Stack Overflow
I have got a problem with the swipe event and dragging an element. In my application I use swipeleft/-right to navigate between the...
Read more >Slider Dragging On Desktop - General - Forum | Webflow
Adding draggable=“false” to the custom attributes field solves the ghosting issues, but disables the “swiping” functionality with a mouse.
Read more >Maps JavaScript API Release Notes - Google Developers
Fixes a bug in which there was an incorrect LatLng in an event after a map was tilted. ... To pan the view,...
Read more >DragGesture + ScrollView = problem… - Apple Developer
I know I could place gestures on the top/bottom gray areas (they represent bars), but in my actual app the owner of the...
Read more >draggable - HTML: HyperText Markup Language | MDN
false : the element cannot be dragged. Warning: This attribute is enumerated and not Boolean. A value of true or false is mandatory,...
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 FreeTop 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
Top GitHub Comments
i was having problems with the swipe-to-slide function not working on android and this was the most relevant looking thread i found. turns out it was related to ADB. unplugging my phone from the computer fixed it and plugging it back in broke it.
just thought i’d leave a note in case anyone else was having a similar issue.
Seeing same issue.
Default for both
draggable
andswipe
istrue
, but settingdraggable
tofalse
will also disable swiping on mobile.This is in version 1.3.7.