You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @andrzejpindor thanks for this feature request/bug report. There is an inconsistency between the return type of the pop() function on ion-nav and the pop() function from the NavController.
In both cases the return type should be: Promise<boolean>.
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.
Activity
sean-perkins commentedon May 5, 2023
Hello @andrzejpindor thanks for this feature request/bug report. There is an inconsistency between the return type of the
pop()function onion-navand thepop()function from theNavController.In both cases the return type should be:
Promise<boolean>.andrzejpindor commentedon May 6, 2023
Hi @sean-perkins I prepared a merge request to change the behavior for NavController #27404
feat: return if the pop on NavController was successful (#27404)
liamdebeasi commentedon Jun 15, 2023
This was added via #27404. The feature will be available in the next minor release of Ionic. Thank you again for the contribution!
ionitron-bot commentedon Jul 15, 2023
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.