File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11/*!
2- * vue-virtual-scroll-list v2.2.8
2+ * vue-virtual-scroll-list v2.2.9
33 * open source under the MIT license
44 * https://github.com/tangbc/vue-virtual-scroll-list#readme
55 */
121121 var _this = this ;
122122
123123 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' ) {
126126 this . sizes . forEach ( function ( v , key ) {
127127 if ( ! value . includes ( key ) ) {
128128 _this . sizes [ "delete" ] ( key ) ;
817817 var clientSize = this . getClientSize ( ) ;
818818 var scrollSize = this . getScrollSize ( ) ; // iOS scroll-spring-back behavior will make direction mistake
819819
820- if ( offset < 0 || offset + clientSize > scrollSize || ! scrollSize ) {
820+ if ( offset < 0 || offset + clientSize > scrollSize + 1 || ! scrollSize ) {
821821 return ;
822822 }
823823
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-virtual-scroll-list" ,
3- "version" : " 2.2.8 " ,
3+ "version" : " 2.2.9 " ,
44 "description" : " A vue component support big amount data list with high scroll performance." ,
55 "main" : " dist/index.js" ,
66 "files" : [
You can’t perform that action at this time.
0 commit comments