mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-24 16:05:44 +08:00
fix(frontend): auto-scroll table during swipe select
This commit is contained in:
@@ -253,7 +253,9 @@ export function useSwipeSelect(
|
||||
startY = clientY
|
||||
lastMouseY = clientY
|
||||
lastEndIndex = -1
|
||||
cachedScrollParent = containerRef.value ? getScrollParent(containerRef.value) : null
|
||||
cachedScrollParent = cachedRows.length > 0
|
||||
? getScrollParent(cachedRows[0])
|
||||
: (containerRef.value ? getScrollParent(containerRef.value) : null)
|
||||
|
||||
createMarquee()
|
||||
updateMarquee(clientY)
|
||||
|
||||
Reference in New Issue
Block a user