@ionic/react 9.0.15-dev.11796248397.1d85e35e → 9.0.15-dev.11796324133.17b57e13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -2241,10 +2241,14 @@ class OutletPageManager extends React.Component {
2241
2241
  * here -- after hydration -- ensures they persist until the parent
2242
2242
  * outlet's forward animation removes ion-page-invisible, preventing
2243
2243
  * a flash where the outlet is briefly visible at full opacity.
2244
+ * Outside an outlet (e.g. inside an inline overlay) nothing would
2245
+ * remove ion-page-invisible, so only ion-page is added there.
2244
2246
  */
2245
2247
  if (!el.classList.contains('ion-page-invisible') && !el.classList.contains('ion-page-hidden')) {
2246
2248
  el.classList.add('ion-page');
2247
- el.classList.add('ion-page-invisible');
2249
+ if (this.context.isInOutlet()) {
2250
+ el.classList.add('ion-page-invisible');
2251
+ }
2248
2252
  }
2249
2253
  this.context.registerIonPage(el, this.props.routeInfo);
2250
2254
  });