bug: Properties ionNavWillChange
and ionNavDidChange
do not exist on IonNav
#28863
Closed
3 tasks done
Labels
ionitron: needs reproduction
a code reproduction is needed from the issue author
Prerequisites
Ionic Framework Version
v7.x
Current Behavior
Using Ionic version 7.5.0 or later, this code cause an error:
The error message is:
Expected Behavior
No error if possible
Steps to Reproduce
npm run build
Code Reproduction URL
No response
Ionic Info
Additional Information
In versions prior to 7.5.0, the IonNav interface was implemented like this:
diff:
https://github.com/ionic-team/ionic-framework/pull/28311/files#diff-1fd76195dbb521bd6fc15558ddb677c06cd4a94d7541ecdea25409b875ea71daL1419-L1428
in version 7.5.0 and later, the implementation seems to have changed to:
diff:
https://github.com/ionic-team/ionic-framework/pull/28311/files#diff-d84d2a25aef8d8c26050fe026186e82c53be36a44acd0c4343af76a671dfb58dR25-R26
Was this removal of
ionNavWillChange
andionNavDidChange
toIonNav
interface intentional?The text was updated successfully, but these errors were encountered: