-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Closed
Labels
package: react@ionic/react package@ionic/react packagetype: buga confirmed bug reporta confirmed bug report
Description
Bug Report
Ionic version:
[ ] 4.x
[x] 5.x React
Current behavior:
Any page that inherits <RouteComponentProps> from either React router OR React Router DOM will automatically overwrite the href URL of IonTabButton1, upon navigation to such page.
Expected behavior:
For that not to happen.
Steps to reproduce:
After installing the respective packages, take note of the current routing that is set in the App.tsx. Now once you start the app you should notice that you are on the intial tester page which in face inherits <RouteComponentProps>. Now attempt to navigate to IonTabButton1.
Reproduction.zip
Related code:
Other information:
Ionic info:
Ionic:
Ionic CLI : 6.11.0 (C:\Users\tyler\AppData\Roaming\npm\node_modules\@ionic\cli)
Ionic Framework : @ionic/react 5.3.1
Capacitor:
Capacitor CLI : 2.4.0
@capacitor/core : 2.4.0
Utility:
cordova-res : 0.14.1
native-run : not installed
System:
NodeJS : v14.4.0 (C:\Program Files\nodejs\node.exe)
npm : 6.14.7
OS : Windows 10
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
package: react@ionic/react package@ionic/react packagetype: buga confirmed bug reporta confirmed bug report