I was looking for how to do it for a long time, but I did not understand.
Code example:
async presentFilter() {
const modal = await this.modalCtrl.create({
component: ScheduleFilterPage,
swipeToClose: true,
showBackdrop: false,
backdropDismiss: false,
componentProps: { excludedTracks: this.excludeTracks }
});
await modal.present();
}
Ps: after the user closes (by swipe) modal, it is immediately removed from dom and it is not clear how to fix modal. Any ideas?
Pss: There are third-party libraries, but I would like to work with the modal component
1 post - 1 participant