SuperNova Posted May 4, 2023 Share Posted May 4, 2023 (edited) Just a small bug that is irking me a bit since the latest 2.0.184.0 update. The Home button is given the "manual-hover" class (which in my theme highlights it green) when you select it, however once you go to another page it will still contain that class. This is because it is still active like any other button would show, however the dropdown option "Add Widget" only displays on the homepage. This bug is also present on the default themes, however since the "manual-hover" class isn't stylized like this theme, you don't see it. How it looks on the homepage and selected: How it looks still selected but on any other page. A fix would be to either have "Add Widget" always present on any page or only have "manual-hover" class on the Home button only applying when on the homepage. Edited May 4, 2023 by SuperNova Link to comment Share on other sites More sharing options...
Dennis Posted May 6, 2023 Share Posted May 6, 2023 The "manual-hover" class is applied to any menu item that is expanded. If you expand Home, Service Management, Server Management and System, all of them would have the class added. AFAIK, non of the default TCAdmin themes applies any CSS to the "manual-hover" class. Link to comment Share on other sites More sharing options...
SuperNova Posted May 10, 2023 Author Share Posted May 10, 2023 On 5/7/2023 at 1:53 AM, Dennis said: The "manual-hover" class is applied to any menu item that is expanded. If you expand Home, Service Management, Server Management and System, all of them would have the class added. AFAIK, non of the default TCAdmin themes applies any CSS to the "manual-hover" class. Yes, however the class "manual-hover" stays active on the Home button if you have it expanded and then proceed to another page. (Click on Home so that you see the Add Widget Button, then click on another page, you will see the class is still applied to the Home button). So creating a custom theme and stylizing the "manual-hover" class makes this bug obvious. This is what I'm saying is a small bug that was introduced in 2.0.184.0 Link to comment Share on other sites More sharing options...
Dennis Posted May 10, 2023 Share Posted May 10, 2023 AFAIK, that has always been the case. The menu items will stay expanded when you navigate to another page. Link to comment Share on other sites More sharing options...
SuperNova Posted May 10, 2023 Author Share Posted May 10, 2023 1 hour ago, Dennis said: AFAIK, that has always been the case. The menu items will stay expanded when you navigate to another page. Since "Add Widget" sub button is only shown on the Home page, this will cause the Home button to stay active with no sub nav. See the second image Link to comment Share on other sites More sharing options...
Dennis Posted May 10, 2023 Share Posted May 10, 2023 Ah, I understand now. Sorry for the confusion. 1 Link to comment Share on other sites More sharing options...
LFA Posted May 10, 2023 Share Posted May 10, 2023 This is fixed in 2.0.185.3 1 Link to comment Share on other sites More sharing options...
SuperNova Posted May 22, 2023 Author Share Posted May 22, 2023 On 5/11/2023 at 11:25 AM, LFA said: This is fixed in 2.0.185.3 Can I have a reference of where the change is made to update my own template? Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now