Open sunnysideup opened 5 years ago
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.
CORRECT MENU:
BAD MENU:
Looks like the HTML is being edited!
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 Vignesh
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?