ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
192 stars 187 forks source link

Multiple modals - Modal overlap issue when modal opened from within modal #302

Closed hungtranpg closed 6 years ago

hungtranpg commented 7 years ago

Ionic info image

When open a modal from within modal,

  1. On the Modal 1 => open Modal 2
  2. On the Modal 2 => open Modal 3 => Modal 3 is working normal, no issue.
  3. On the Modal 3 => open Modal 4 Seem as Modal 4 is not show on top, some elements are hidden.

I was found the same issue at here. But it has been fixed and closed. bug: Major $IonicModal Bug. Multiple Modals I'm using the latest ionic version, but why I still get that issue. Please help me resolve this!

image

hungtranpg commented 6 years ago

[Updated] That issue caused by <ion-slide-box>. This is an old tag of slide box in ionic. in a modal, if it has tag, then the above modal will be overlap. Let replace <ion-slide-box> with <ion-slides>