Home » Javascript » React – IE11 – visited links not recognized as visited on refresh

React – IE11 – visited links not recognized as visited on refresh

Posted by: admin June 30, 2018 Leave a comment

Questions:

I am developing a React application for IE11. Have few anchor tags for links. The problem I am facing is the links do not retain the visited state/css on refresh. The app works fine on Chrome, only on IE the links that user already clicked still show up as unvisited links on application refresh.

Browser – IE11
React – 16.3.2

CSS for visited links:

a:visited, a:hover, a:focus, a:active {
  color: #551A8B !important;
}
Answers: