Skip to content

Commit f053477

Browse files
committed
fix(VSlideGroup): check hasAffixes in hasNext computed property
fixes vuetifyjs#21115
1 parent 849ed78 commit f053477

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vuetify/src/components/VSlideGroup/VSlideGroup.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ export const VSlideGroup = genericComponent<new <T>(
377377
})
378378

379379
const hasNext = computed(() => {
380-
if (!containerRef.value) return false
380+
if (!containerRef.value || !hasAffixes.value) return false
381381

382382
const scrollSize = getScrollSize(isHorizontal.value, containerRef.el)
383383
const clientSize = getClientSize(isHorizontal.value, containerRef.el)

0 commit comments

Comments
 (0)