Skip to content

Commit

Permalink
fix(item-sliding): close() will maintain disabled state (#24847)
Browse files Browse the repository at this point in the history
Resolves #24747
  • Loading branch information
sean-perkins committed Feb 25, 2022
1 parent 836c01c commit ea4a9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/components/item-sliding/item-sliding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ export class ItemSliding implements ComponentInterface {
this.state = SlidingState.Disabled;
this.tmr = undefined;
if (this.gesture) {
this.gesture.enable(true);
this.gesture.enable(!this.disabled);
}
}, 600) as any;

Expand Down

0 comments on commit ea4a9bb

Please sign in to comment.