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

Fix partial routes on BCMI website #419

Closed
raarielgrace opened this issue Oct 7, 2024 · 0 comments · Fixed by #421
Closed

Fix partial routes on BCMI website #419

raarielgrace opened this issue Oct 7, 2024 · 0 comments · Fixed by #421
Assignees

Comments

@raarielgrace
Copy link
Contributor

Describe the Bug
The BCMI website includes a number of links with partial routes, such as /authorizations#minesActPermits. Going to these links doesn't load the page in the proper place.

Expected Behaviour
The page loads at the element with the id in the URL.

Actual Behaviour
The page loads at the top.

** Steps To Reproduce**
Steps to reproduce the behaviour:

  1. Go to /authorizations#minesActPermits either on your localHost or on https://mines.nrs.gov.bc.ca/.
  2. The page will load at the top instead of at the "Mines Act Permits" section. If you inspect the title, you will see it does have id="minesActPermits".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant