@lightningjs/ui
Advanced tools
Comparing version 1.3.18 to 1.3.19
# Changelog | ||
*11 dec 2023* | ||
## v1.3.19 | ||
- When removing the last item from a CollectionWrapper using the remove method and that last item is out of bounds, no longer throws an error. | ||
*17 nov 2023* | ||
## v1.3.17 / v1.3.18 | ||
@@ -6,0 +10,0 @@ -This fixes an issue that when you use setIndex when the component is inactive and when _cleanUp from Carousel is called, it clears all the items because the scrollTransition.targetValue is not updated. |
{ | ||
"name": "@lightningjs/ui", | ||
"version": "1.3.18", | ||
"version": "1.3.19", | ||
"description": "Standard UI components for Lightning", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -41,2 +41,3 @@ # Lightning-UI | ||
[Ui-component-examples](https://github.com/mlapps/ui-component-examples) | ||
[Ui-component-examples](https://github.com/mlapps/ui-component-examples) | ||
@@ -215,10 +215,6 @@ /* | ||
if(this.hasItems && target.assignedID) { | ||
const itemWrappers = this.itemWrappers; | ||
for(let i = 0; i < this._items.length; i++) { | ||
let item = this._items[i]; | ||
if(itemWrappers[i] && itemWrappers[i].component.isAlive) { | ||
item = itemWrappers[i].component; | ||
} | ||
if(target.assignedID === item.assignedID) { | ||
if(i === this._items.length-1 && item.hasFocus()) { | ||
if(i === this._items.length - 1 && this._index === this._items.length - 1) { | ||
this._index = this._index - 1; | ||
@@ -225,0 +221,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43
221531
3207