You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When toggling the ion-item elements with ngIf, the reference ion-item-sliding had to the first ion-item is no longer in the DOM, but it does not grab a reference to the new ion-item that has been added to the DOM.
To fix this, we should query for ion-item in the onStart callback.
liamdebeasi
changed the title
bug: ion-item-sliding breaks when toggeling ion-item with *ngIf
bug: ion-item-sliding reference to inner item is not reactive, breaks when using ngIf
Sep 16, 2021
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Bug Report
Ionic version:
[x] 4.9.0
Current behavior:
Expected behavior:
I am unable to slide the item when toggleing the ion-item inside it.
Steps to reproduce:
Create an ion-item-sliding with two ion-item inside it which you toggle with an *ngIf
Related code:
Other information:
Ionic info:
The text was updated successfully, but these errors were encountered: