framework7
Advanced tools
Comparing version 8.0.4 to 8.0.5
@@ -175,13 +175,14 @@ import { getDocument } from 'ssr-window'; | ||
for (let i = 0; i < items.length; i += 1) { | ||
const renderedItem = renderedItems[i]; | ||
const itemIndex = vl.items.indexOf(items[i]); | ||
const renderedItem = renderedItems[itemIndex]; | ||
if (renderedItem) { | ||
if (!vl.heightsCalculated.includes(i)) { | ||
vl.heights[i] = renderedItem.offsetHeight; | ||
vl.heightsCalculated.push(i); | ||
if (!vl.heightsCalculated.includes(itemIndex)) { | ||
vl.heights[itemIndex] = renderedItem.offsetHeight; | ||
vl.heightsCalculated.push(itemIndex); | ||
} | ||
} | ||
if (typeof vl.heights[i] === 'undefined') { | ||
vl.heights[i] = 40; | ||
vl.heights[itemIndex] = 40; | ||
} | ||
vl.listHeight += vl.heights[i]; | ||
vl.listHeight += vl.heights[itemIndex]; | ||
} | ||
@@ -188,0 +189,0 @@ } else { |
/** | ||
* Framework7 8.0.4 | ||
* Framework7 8.0.5 | ||
* Full featured mobile HTML framework for building iOS & Android apps | ||
@@ -10,3 +10,3 @@ * https://framework7.io/ | ||
* | ||
* Released on: May 3, 2023 | ||
* Released on: May 8, 2023 | ||
*/ | ||
@@ -13,0 +13,0 @@ |
/** | ||
* Framework7 8.0.4 | ||
* Framework7 8.0.5 | ||
* Full featured mobile HTML framework for building iOS & Android apps | ||
@@ -10,3 +10,3 @@ * https://framework7.io/ | ||
* | ||
* Released on: May 3, 2023 | ||
* Released on: May 8, 2023 | ||
*/ | ||
@@ -13,0 +13,0 @@ |
/** | ||
* Framework7 8.0.4 | ||
* Framework7 8.0.5 | ||
* Full featured mobile HTML framework for building iOS & Android apps | ||
@@ -10,3 +10,3 @@ * https://framework7.io/ | ||
* | ||
* Released on: May 3, 2023 | ||
* Released on: May 8, 2023 | ||
*/ | ||
@@ -13,0 +13,0 @@ |
/** | ||
* Framework7 8.0.4 | ||
* Framework7 8.0.5 | ||
* Full featured mobile HTML framework for building iOS & Android apps | ||
@@ -10,3 +10,3 @@ * https://framework7.io/ | ||
* | ||
* Released on: May 3, 2023 | ||
* Released on: May 8, 2023 | ||
*/ | ||
@@ -13,0 +13,0 @@ |
{ | ||
"name": "framework7", | ||
"version": "8.0.4", | ||
"version": "8.0.5", | ||
"description": "Full featured mobile HTML framework for building iOS & Android apps", | ||
@@ -439,3 +439,3 @@ "type": "module", | ||
}, | ||
"releaseDate": "May 3, 2023" | ||
"releaseDate": "May 8, 2023" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
14243633
141910