-
Notifications
You must be signed in to change notification settings - Fork 1
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
Improve back button on course layout #50
Labels
Comments
Closed
7 tasks
7 tasks
This was
unlinked from
pull requests
Mar 4, 2024
Closed
7 tasks
7 tasks
7 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
As a user I want to go to the last page I visited, before I entered the course, when I press the back button on
c/:courseId
or it's children, instead of going to the/
page.Expected Behavior
I want to navigate back to my last route with browser
history.back()
utility which isn't a course page but would bec/
or/
where I can see the courses. Pretty much just leave the course detail page, no matter how far I've navigated in thec/:courseId
, to the route before I entered course detail atc/:courseId
.Actual Behavior
I'm navigating to root route at
/
Possible Fix
Use native function https://developer.mozilla.org/en-US/docs/Web/API/History/back
Steps to Reproduce
c/:courseId
The text was updated successfully, but these errors were encountered: