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

Back button, browser history navigation not working #691

Closed
jaybuidl opened this issue Apr 11, 2023 · 1 comment · Fixed by #861
Closed

Back button, browser history navigation not working #691

jaybuidl opened this issue Apr 11, 2023 · 1 comment · Fixed by #861
Assignees
Labels
Milestone

Comments

@jaybuidl
Copy link
Member

No description provided.

@abhiram11
Copy link

abhiram11 commented Apr 11, 2023

I'm looking into this issue, will open a PR once I've written enough code for discussion👍🏻

Edit 1:
I added a console.log to display URL history using document.referrer in CaseDetails > index.tsx. There seems to be multiple re-renders of the page as seen in the video attached. Furthermore, if you hold click the back button of browser, you can see that just 1 click causes multiple route navigation to have taken place, and if we click on a url >2 from current location, it navigates to that as shown in the video as well.

kleros-back.mp4

P.S. I'll look into this in more detail... Would like to know your feedback on what could be the issue and/or the proposed approach in the mean time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants