@@ -247,16 +247,16 @@ FocusScope {
248 if (item && item.hasOwnProperty("delegateCreationBegin")) {
248 if (item && item.hasOwnProperty("delegateCreationBegin")) {
249 if (baseItem.y + baseItem.height <= 0) {
249 if (baseItem.y + baseItem.height <= 0) {
250− // Not visible (item at top of the list)
250+ // Not visible (item at top of the list viewport)
251− item.delegateCreationBegin = baseItem.height
251+ item.delegateCreationBegin = item.originY + baseItem.height
252− item.delegateCreationEnd = baseItem.height
252+ item.delegateCreationEnd = item.originY + baseItem.height
253 } else if (baseItem.y >= categoryView.height) {
253 } else if (baseItem.y >= categoryView.height) {
254− // Not visible (item at bottom of the list)
254+ // Not visible (item at bottom of the list viewport)
255− item.delegateCreationBegin = 0
255+ item.delegateCreationBegin = item.originY
256− item.delegateCreationEnd = 0
256+ item.delegateCreationEnd = item.originY
258− item.delegateCreationBegin = Math.max(-baseItem.y, 0)
258+ item.delegateCreationBegin = item.originY + Math.max(-baseItem.y, 0)
259− item.delegateCreationEnd = Math.min(categoryView.height + item.delegateCreationBegin, baseItem.height)
259+ item.delegateCreationEnd = item.originY + Math.min(categoryView.height + item.delegateCreationBegin, baseItem.height)