-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
Prerequisites
Please answer the following questions for yourself before submitting an issue.
- I am running the latest version
- I checked the documentation and found no answer
- I checked to make sure that this issue has not already been filed
- I'm reporting the issue to the correct repository (for multi-repository projects)
Expected Behavior
The links should have the active colors set from the Right Menu (FixedPlugin) after pressing one of them.
Current Behavior
When clicking the links in the Left Menu (Sidebar) component, the active color disappears.
Failure Information (for bugs)
This happens due to the focus css prop.
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Go on the live preview: https://demos.creative-tim.com/material-dashboard-react/#/admin/dashboard
- Click on any of the links inside the Left Menu (Sidebar component)
- Without any further clicking, or defocusing from the clicked link, move the cursor away
- Notice how the link remains with no background color
Context
Unrelevant
Failure Logs
This happens due to the focus css prop.
Solution
- Go inside
src/assets/jss/material-dashboard-react/components/sidebarStyle.jsx - Change lines
191,206,228,250and272from"&:hover": {to"&:hover,&:focus": {
Best,
Manu
Reactions are currently unavailable