Ion-item-sliding option probem


Last open is not closing the open slide item. how to close the last open

here is the code:

<ion-list no-lines *ngFor="let SearchList of _resSearchList">
        <p>{{SearchList.AreaNameEn}} | {{SearchList.AreaNameAr}}</p>

      <ion-item-options side="right">
        <button ion-button color="primary">
          <ion-icon name="ios-call-outline"></ion-icon>
        <button ion-button color="secondary">
          <ion-icon name="ios-pin-outline"></ion-icon>

 <ion-item-sliding *ngFor="let project of Projects">


I changed your post to format your code or error message correctly. Please use the </> button above the post input field to format your code or error message or wrap it in ``` (“code fences”) manually. This will make sure your text is readable and if it recognizes the programming language it also automatically adds code syntax highlighting. Thanks.


Thanx Sujan12,
Its resolved.


My post was not the solution… what did you do to solve it?


Problem was one I slide one list option and not close and open second list option the last one still open not closed automatically. See the picture you will understand. My mistake was loop in ion-list so I changed it into
<ion-item-sliding *ngFor="let project of Projects">
so its working


so my post was the solution :laughing: