fix(components): [virtual-list] incorrect scroll boundary check (#23289)

This commit is contained in:
rzzf
2026-01-04 14:35:13 +08:00
committed by GitHub
parent 0394260ffa
commit 71e5216f17

View File

@@ -38,7 +38,7 @@ const useWheel = (
const newOffset = layout.value === HORIZONTAL ? deltaX : deltaY
if (hasReachedEdge(offset) && hasReachedEdge(offset + newOffset)) return
if (hasReachedEdge(newOffset)) return
offset += newOffset