fix(item-sliding): no longer close all open items when deleting an item (#17579)

* fix auto close items when deleting an item, remove extra click

* lint file
This commit is contained in:
Liam DeBeasi
2019-02-28 16:38:51 -05:00
committed by GitHub
parent 2ce49407b7
commit 3de7795a2c

View File

@ -90,7 +90,10 @@ export class ItemSliding implements ComponentInterface {
this.item = null; this.item = null;
this.leftOptions = this.rightOptions = undefined; this.leftOptions = this.rightOptions = undefined;
this.closeOpened();
if (openSlidingItem === this.el) {
openSlidingItem = undefined;
}
} }
/** /**