Skip to content

Commit a39fca7

Browse files
chenjigengtangbc
authored andcommitted
fix scroll from bottom will cause range caculate error
1 parent 3689d10 commit a39fca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/virtual.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const CALC_TYPE = {
1111
FIXED: 'FIXED',
1212
DYNAMIC: 'DYNAMIC'
1313
}
14-
const LEADING_BUFFER = 2
14+
const LEADING_BUFFER = 0
1515

1616
export default class Virtual {
1717
constructor (param, callUpdate) {

0 commit comments

Comments
 (0)