We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1dbccd2 commit 35495d6Copy full SHA for 35495d6
src/components/Carousel/Carousel.svelte
@@ -286,15 +286,19 @@
286
287
// gestures
288
function handleSwipeStart() {
289
+ if (!swiping) return
290
_duration = 0
291
}
292
async function handleThreshold(event) {
293
294
await directionFnDescription[event.detail.direction]()
295
296
function handleSwipeMove(event) {
297
298
offset += event.detail.dx
299
300
function handleSwipeEnd() {
301
302
showPage(currentPageIndex)
303
304
function handleFocused(event) {
0 commit comments