-
Notifications
You must be signed in to change notification settings - Fork 21
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
we are getting weirdness in the collapsible menu - sometimes #35
Comments
Can't say I've ever come across this. Do you have any modules that change the menu in any way? This theme doesn't inject any JS. |
Oops, accidentally closed it. Please still reply 😂 |
It happens when you open a specific page. |
"Do you have any modules that change the menu in any way? " - that is the question ;-) I am not sure. It only happens when an individual page is opened in the CMS. |
Here is how we fixed it ... /**
* Side menu labels were dissappearing
* when editing pages in the CMS. This bug was due to the 3rd party library
* thinking the side menu was collapsed then failing to properly collapse the sidemenu
* The bug is present in the vendor folder so this script sets specific cookies to trick the 3rd
* party code into thinking the side menu is always pulled out
*
* @author Tristan Mastrodicasa
*/
jQuery.cookie("cms-menu-sticky", "true", {
path: "/",
expires: 31
});
jQuery.cookie("cms-panel-collapsed-cms-menu", "false", {
path: "/",
expires: 31
});
jQuery.cookie("cms-panel-collapsed-cms-content-tools-CMSMain", "false", {
path: "/",
expires: 31
}); |
Hi @sunnysideup , I'm facing the same issue. could you please tell me where and how did you add this script? Thanks |
Collapsing has been resolved in #64 |
and on hover:
arrows are seen on scrollbar:
when it first loads, it looks great and THEN goes all weird! JS Issue?
The text was updated successfully, but these errors were encountered: