Ionic-framework: bug: 4.10.1 breaks ionViewDidEnter in modals

Created on 8 Oct 2019  路  7Comments  路  Source: ionic-team/ionic-framework

Bug Report

Ionic version:


[x] 4.10.1

Current behavior:

When a page is opened via modalCtrl ionViewDidEnter is not triggered anymore.

Expected behavior:

With the exact same code ionViewDidEnter is triggered in 4.10.0 and below.

core bug

Most helpful comment

Can you all give this dev build a try, and let me know if it resolves the issue for your apps?

npm i @ionic/[email protected]

Thanks!

All 7 comments

Just wanted to create an issue about this topic.

I've created an stackblitz which is showcasing this bug: https://stackblitz.com/edit/ionic-v4-modal-didenter-bug

All lifecycles are called except ionViewDidEnter.

image

Thanks for the issue. I am able to reproduce this. It looks like ionModalDidPresent is not firing, which may be why ionViewDidEnter does not fire. I am investigating and will update this thread when I have more to share.

Can you all give this dev build a try, and let me know if it resolves the issue for your apps?

npm i @ionic/[email protected]

Thanks!

I can confirm that with @ionic/[email protected] ionViewDidEnter is called again.

Thanks for the quick fix!

Thanks this resolves my issue. ionViewDidEnter is called again.

This issue has been fixed and is available now in Ionic 4.10.2. Thanks!

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.

Was this page helpful?
0 / 5 - 0 ratings