mirror of
https://github.com/element-plus/element-plus.git
synced 2026-03-13 07:51:17 +08:00
fix(components): [virtual-list] incorrect scroll boundary check (#23289)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user