item-sliding stops working if the item-option is open and the list changes dynamically
See original GitHub issueBug Report
item-sliding stops working if the item-option is open and the list changes dynamically (Observable async)
Ionic Info
Ionic:
ionic (Ionic CLI) : 4.1.2 (/usr/lib/node_modules/ionic)
Ionic Framework : @ionic/angular 4.0.0-beta.7
@angular-devkit/core : 0.7.5
@angular-devkit/schematics : 0.7.5
@angular/cli : 6.1.5
@ionic/ng-toolkit : 1.0.8
@ionic/schematics-angular : 1.0.6
Cordova:
cordova (Cordova CLI) : 8.0.0
Cordova Platforms : none
Cordova Plugins : no whitelisted plugins (0 plugins total)
System:
NodeJS : v8.11.3 (/usr/bin/node)
npm : 6.4.0
OS : Linux 4.15
Describe the Bug item-sliding stops working if the item-option is open and the list changes dynamically (Observable async)
Steps to Reproduce Steps to reproduce the behavior:
- open an item-sliding and leave it open until you change the list that contains it (dynamically)
Expected Behavior keep running normally
Additional Context
tested in the Chrome browser
Issue Analytics
- State:
- Created 5 years ago
- Reactions:4
- Comments:5 (3 by maintainers)
Top Results From Across the Web
item-sliding stops working if the item-option is open ... - GitHub
Steps to reproduce the behavior: open an item-sliding and leave it open until you change the list that contains it (dynamically). Expected ...
Read more >ion-item-sliding is not working with dynamic values
I am using <ion-item-sliding> to show some random values and on sliding want to perform some operation. My code is as below.
Read more >Ion-item-sliding no working in v4 after reload items
Hello, I have an ion-list that shows a list of ion-item-sliding with ... After reload all items, the sliding is not working, it...
Read more >Ionic 5 UI Components Properties - Appery.io
This section provides an overview of the Ionic 5 UI components and their properties available in the visual App Builder PALETTE.
Read more >ion-item-sliding on click - Otani Tyres
前提 Install & setup Ionic Angular project. ion-button Click not firing ... To add swipe-to-delete functionality on the list of beers, open ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
If you force close all the slide items before/after the list changes, it should allow the item-option to continue to behave correctly. Ran into a similar scenario in my app, and calling
slideItem.close()
fixed future behavior.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.