File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
/*!
2
- * vue-virtual-scroll-list v2.2.8
2
+ * vue-virtual-scroll-list v2.2.9
3
3
* open source under the MIT license
4
4
* https://github.com/tangbc/vue-virtual-scroll-list#readme
5
5
*/
121
121
var _this = this ;
122
122
123
123
if ( this . param && key in this . param ) {
124
- // if uniqueIds reducing , find out deleted id and remove from size map
125
- if ( key === 'uniqueIds' && value . length < this . param [ key ] . length ) {
124
+ // if uniqueIds change , find out deleted id and remove from size map
125
+ if ( key === 'uniqueIds' ) {
126
126
this . sizes . forEach ( function ( v , key ) {
127
127
if ( ! value . includes ( key ) ) {
128
128
_this . sizes [ "delete" ] ( key ) ;
817
817
var clientSize = this . getClientSize ( ) ;
818
818
var scrollSize = this . getScrollSize ( ) ; // iOS scroll-spring-back behavior will make direction mistake
819
819
820
- if ( offset < 0 || offset + clientSize > scrollSize || ! scrollSize ) {
820
+ if ( offset < 0 || offset + clientSize > scrollSize + 1 || ! scrollSize ) {
821
821
return ;
822
822
}
823
823
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-virtual-scroll-list" ,
3
- "version" : " 2.2.8 " ,
3
+ "version" : " 2.2.9 " ,
4
4
"description" : " A vue component support big amount data list with high scroll performance." ,
5
5
"main" : " dist/index.js" ,
6
6
"files" : [
You can’t perform that action at this time.
0 commit comments