kmfarley11 / kmfarley11/kmfarley11.github.io

Fix Back Button

Open
#3 1 comment 0 reactions 1 assignee Claimed by @kmfarley11 View on GitHub
bug enhancement
Dominant language
HTML
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Problem: Pressing the back button currently brings the user back to the top of the page, then pressing it again takes them away from the site. This is because I am using angular in a way which makes it quite literally a one-paged site.

Aim: This should be fixed so that the back button brings them to the most previous tab they were on (of my website).

Solution(s): Ideas would be to use routing instead of just rendering (show/ hide) html templates
or
somehow intercept the back button call and manipulate its functionality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.