Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The tabbedShowLayout tabs don't route correctly #9496

Closed
NoCluePS opened this issue Dec 6, 2023 · 3 comments
Closed

The tabbedShowLayout tabs don't route correctly #9496

NoCluePS opened this issue Dec 6, 2023 · 3 comments

Comments

@NoCluePS
Copy link

NoCluePS commented Dec 6, 2023

What you were expecting:
Go back to initial tab, when clicked

What happened instead:
I don't get rerouted, and when I press for example a third tab, the routes become /1/2 <-- Blank page

Steps to reproduce:
Have a tabbedShowLayout screen with 2 or more tabs, move to 1 and then back to the initial tab

Environment

  • React-admin version: 4.16.1
  • Last version that did not exhibit the issue (if applicable):
  • React version: 17.0.0
  • Browser: Chrome
  • Stack trace (in case of a JS error):
@slax57
Copy link
Contributor

slax57 commented Dec 6, 2023

This looks like a duplicate of #9468

Can you confirm you are using react-router >= 6.20.1 ?

@NoCluePS
Copy link
Author

NoCluePS commented Dec 6, 2023

Nope, currently on 6.1.0 :D

I'll update and get back to you 😅

@NoCluePS
Copy link
Author

NoCluePS commented Dec 6, 2023

Yup, that was the issue... Updated and started working

@NoCluePS NoCluePS closed this as completed Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants