@lightningjs/ui
Advanced tools
Comparing version 1.3.12 to 1.3.13
# Changelog | ||
*5 juli 2023* | ||
## v1.3.13 | ||
- fixes the navigation getting stuck when the onRequestItems callback takes a while to resolve | ||
*3 juli 2023* | ||
@@ -4,0 +9,0 @@ |
{ | ||
"name": "@lightningjs/ui", | ||
"version": "1.3.12", | ||
"version": "1.3.13", | ||
"description": "Standard UI components for Lightning", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -43,7 +43,6 @@ /* | ||
setIndex(index, options = {}) { | ||
if (this._requestsEnabled && this._requestingItems) { | ||
return true; | ||
} | ||
if (this._requestsEnabled && (index > this._items.length - 1)) { | ||
this._requestMore(index, [], options); | ||
if (!this._requestingItems) { | ||
this._requestMore(index, [], options); | ||
} | ||
return true; | ||
@@ -50,0 +49,0 @@ } |
@@ -158,7 +158,6 @@ /* | ||
setIndex(index, options = {}) { | ||
if (this._requestsEnabled && this._requestingItems) { | ||
return true; | ||
} | ||
if (this._requestsEnabled && (index > this._items.length - 1)) { | ||
this._requestMore(index, [], options); | ||
if (!this._requestingItems) { | ||
this._requestMore(index, [], options); | ||
} | ||
return true | ||
@@ -165,0 +164,0 @@ } |
220722
3205