Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70440

How to keep modal on bottom after close, like ios music player?

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 70440

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>