-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Links inside Sidebar after click have no active color #83
Comments
@einazare thanks for the solution - it was bothering me so much but I didn't have the skill to pinpoint it! You're a star! |
@einazare when I switch from one page to another, I had to re-load the page to see the content on the webpage otherwise is it not showing up can you please tell me why am I facing this issue. |
Hello there @Samriddhi25 , Can you please share with me your code inside index.js? Best, |
@einazare I have not altered the code at all |
Hello again, @Samriddhi25 , That is the index.html not the index.js file. Best, |
@einazare I misinterpreted it, here is the index,js import React from "react"; // core components import "assets/css/material-dashboard-react.css?v=1.9.0"; const hist = createBrowserHistory(); ReactDOM.render( I have deliberately removed the angular brackets as the content inside it was not appearing. |
Hello again, @Samriddhi25 , Please send the code in code format to show you the changes you need to make. |
|
Please try this code:
I've seen recently that sometimes, the combination of |
Thanks a lot @einazare it worked! |
Thanks it fix my issues. |
Prerequisites
Please answer the following questions for yourself before submitting an issue.
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.
Context
Unrelevant
Failure Logs
This happens due to the focus css prop.
Solution
src/assets/jss/material-dashboard-react/components/sidebarStyle.jsx
191
,206
,228
,250
and272
from"&:hover": {
to"&:hover,&:focus": {
Best,
Manu
The text was updated successfully, but these errors were encountered: