fix(item-sliding): close() will maintain disabled state (#24847)

Resolves #24747
This commit is contained in:
Sean Perkins
2022-02-25 11:49:03 -05:00
committed by GitHub
parent 836c01c73e
commit ea4a9bb694

View File

@ -408,7 +408,7 @@ export class ItemSliding implements ComponentInterface {
this.state = SlidingState.Disabled; this.state = SlidingState.Disabled;
this.tmr = undefined; this.tmr = undefined;
if (this.gesture) { if (this.gesture) {
this.gesture.enable(true); this.gesture.enable(!this.disabled);
} }
}, 600) as any; }, 600) as any;