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
I've got weird bug TabbedForm just stopped working shows only first tab, on first click to other tab system highlight it but do not redirect with any other click on tab highlighting disappears, but still only first tab rendered
on each click, it concatenates URL
syncWithLocation={false} do not resolve the issue
reproducing on all browsers
I'm also reporting this issue after recently upgrading dependencies on a large project (react-admin went from 5.2.2 to 5.5.0 for reference).
The issue seems to affect not just TabbedForm but also, for example, TabbedShowLayout.
I verified that I didn't have duplicate versions of react-router; however, the issue appeared to be with react-router version >= 7.0.0 (as react-admin added support on version 5.5.0).
After forcing the react-router and react-router-dom back to 6.28.2, the issue disappeared.
So a workaround if you stumble on this issue for now is adding the following to your package.json (for yarn):
@fzaninotto as I was setting up a reproduction repository, I found that simply picking up the "Simple Example" stackblitz and bumping the react-router and react-router-dom dependencies to 7.1.3 is enough for this issue to show up. Let me know if you need an actual stackblitz fork with this two line change.
I've got weird bug TabbedForm just stopped working shows only first tab, on first click to other tab system highlight it but do not redirect with any other click on tab highlighting disappears, but still only first tab rendered
on each click, it concatenates URL
syncWithLocation={false} do not resolve the issue
reproducing on all browsers
The text was updated successfully, but these errors were encountered: