Cause: When a user navigates using a link outside the nav, the last selected nav item maintains focus and therefore maintains its highlight.
Consequence: Two items in the nav are highlighted, but only one should be.
Fix: Added CSS rules to eliminate the highlighted styles for focused nav items.
Result: Only the active nav item is highlighted.
Version: 4.3.0-0.ci-2019-11-20-134433
Cluster ID: c1ba6d4b-e6cd-460b-903a-afef98aec924
Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.97 Safari/537.36
Created attachment 1638182[details]
Screenshot of navigation showing two items highlighted
Description of problem:
Following a link from the Dashboard results in two navigation items being highlighted: Dashboard and the destination nav item
Version-Release number of selected component (if applicable):
4.3.0-0.ci-2019-11-20-134433
How reproducible:
Very
Steps to Reproduce:
1. Follow a link on the dashboard, to pods, for example
2.
3.
Actual results:
Both the Dashboard and destination navigation items are highlighted
Expected results:
Only the destination navigation items is highlighted
Additional info:
payload: 4.4.0-0.nightly-2019-11-26-041012
Checked on ocp 4.4 cluster with above payload version. Browsers cover chrome78 and firefox70. Nav from "Dashboard" to pods/deployments page, only the destination item is highlighted. No other navigation issue is found, so move the bug to Verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2020:0581
Created attachment 1638182 [details] Screenshot of navigation showing two items highlighted Description of problem: Following a link from the Dashboard results in two navigation items being highlighted: Dashboard and the destination nav item Version-Release number of selected component (if applicable): 4.3.0-0.ci-2019-11-20-134433 How reproducible: Very Steps to Reproduce: 1. Follow a link on the dashboard, to pods, for example 2. 3. Actual results: Both the Dashboard and destination navigation items are highlighted Expected results: Only the destination navigation items is highlighted Additional info: