fix(item-sliding): opening item while other items are open no longer requires multiple swipes (#23683)

resolves #21579
This commit is contained in:
Denis
2021-08-02 19:56:27 +03:00
committed by GitHub
parent f2a05bed1e
commit 792864f8ab

View File

@@ -247,7 +247,6 @@ export class ItemSliding implements ComponentInterface {
const selected = openSlidingItem;
if (selected && selected !== this.el) {
this.closeOpened();
return false;
}
return !!(this.rightOptions || this.leftOptions);